tMakefile: add dist target and bump version to 0.1.1 - numtools - perform numer… | |
git clone git://src.adamsgaard.dk/numtools | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2532e3e298626befd30673abadacf9f07bd468e0 | |
parent 3f1938bbc1f17fcf3d959d4cf7e3e934bc231cd9 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 25 Nov 2020 14:45:51 +0100 | |
Makefile: add dist target and bump version to 0.1.1 | |
Diffstat: | |
M Makefile | 13 +++++++++++-- | |
1 file changed, 11 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -1,7 +1,7 @@ | |
.POSIX: | |
NAME = mathtools | |
-VERSION = 0.1.0 | |
+VERSION = 0.1.1 | |
# paths | |
PREFIX = /usr/local | |
t@@ -38,4 +38,13 @@ uninstall: | |
# removing manual pages. | |
for m in ${MAN1}; do rm -f "${DESTDIR}${MANPREFIX}/man1/$$m"; done | |
-.PHONY: install uninstall | |
+dist: | |
+ rm -rf "${NAME}-${VERSION}" | |
+ mkdir -p "${NAME}-${VERSION}" | |
+ cp -rf ${MAN1} ${DOC} ${SCRIPTS} "${NAME}-${VERSION}" | |
+ # make tarball | |
+ tar cf - "${NAME}-${VERSION}" | \ | |
+ gzip -c > "${NAME}-${VERSION}.tar.gz" | |
+ rm -rf "${NAME}-${VERSION}" | |
+ | |
+.PHONY: install uninstall dist |