aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9d89000..6c6af8a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@
# To avoid issues when updating, consider providing the new values on the
# make(1) command line instead of editing this file.
+VERSION= 1.1
+
PREFIX?= /usr/local
DESTDIR?=
@@ -70,9 +72,15 @@ default: all
all: ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN} ${CMD} ${CHALLENGE} ${HOOK} ${PERIODIC} ${CONF}
+dist:
+ tar cf lfacme-${VERSION}.tar $$(git ls-tree -r --name-only HEAD)
+ compress -f lfacme-${VERSION}.tar
+ @ls -l lfacme-${VERSION}.tar.Z
+
clean:
rm -f ${MAN5} ${MAN7} ${MAN8} ${LIB} ${BIN} ${CMD}
rm -f ${HOOK} ${CHALLENGE} ${PERIODIC} ${CONF}
+ rm -f lfacme-${VERSION}.tar lfacme-${VERSION}.tar.Z
.sh.in.sh:
${REPLACE} <$< >$@