diff options
author | Cem Keylan <cem@ckyln.com> | 2021-09-30 16:21:46 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-09-30 16:21:46 +0300 |
commit | d3010f79ac317941f4788cb4ee63cdf504adc5bf (patch) | |
tree | 5b39827ff8c14f79385388f660879a2c9c7a3c35 | |
parent | c5546d269d55acd34e3ceebe8151899a7fd89768 (diff) | |
download | docs-2021.09.tar.gz |
update Makefile2021.09
-rw-r--r-- | Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -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 |