aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-30 16:21:46 +0300
committerCem Keylan <cem@ckyln.com>2021-09-30 16:21:46 +0300
commitd3010f79ac317941f4788cb4ee63cdf504adc5bf (patch)
tree5b39827ff8c14f79385388f660879a2c9c7a3c35 /Makefile
parentc5546d269d55acd34e3ceebe8151899a7fd89768 (diff)
downloaddocs-d3010f79ac317941f4788cb4ee63cdf504adc5bf.tar.gz
update Makefile2021.09
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 88bde83..f7ca11a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,10 @@ carbslinux.texi: ${ORG}
${EMACS} carbslinux.org -f org-texinfo-export-to-texinfo
clean:
- rm -f carbslinux.info
+ rm -f carbslinux.info carbslinux-docs-${VERSION}.tar.xz
allclean: clean
- rm -f carbslinux.txt install.txt carbslinux.texi
+ rm -f install.org carbslinux.txt install.txt carbslinux.texi
htmldocs:
mkdir -p "${HTMLDIR}"
@@ -38,18 +38,17 @@ htmldocs:
cp install.txt ${HTMLDIR}/install.txt
install:
- install -Dm644 carbslinux.info "${DESTDIR}${INFODIR}/carbslinux.info"
- install -Dm644 carbslinux.txt "${DESTDIR}${DOCDIR}/carbslinux/carbslinux.txt"
+ ${INSTALLSH} -Dm644 carbslinux.info "${DESTDIR}${INFODIR}/carbslinux.info"
+ ${INSTALLSH} -Dm644 carbslinux.txt "${DESTDIR}${DOCDIR}/carbslinux/carbslinux.txt"
uninstall:
rm -f "${DESTDIR}${INFODIR}/carbslinux.info"
rm -f "${DESTDIR}${DOCDIR}/carbslinux/carbslinux.txt"
dist: ${TARGET}
- mkdir -p carbs-docs-${VERSION}
- cp README.md Makefile config.mk ${ORG} ${TEXI} ${TARGET} carbs-docs-${VERSION}
- tar cf carbs-docs-${VERSION}.tar carbs-docs-${VERSION}
- xz -z carbs-docs-${VERSION}.tar
- rm -r carbs-docs-${VERSION}
+ pax -ws ,^,carbs-docs-${VERSION}/, \
+ LICENSE README.md Makefile config.mk ${ORG} ${TEXI} ${TARGET} \
+ tools | \
+ xz -cz > carbs-docs-${VERSION}.tar.xz
-.PHONY: all dist htmldocs install clean uninstall
+.PHONY: all dist htmldocs install allclean clean uninstall