aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 306392f..2c4b9e9 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,10 @@ 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)
+ rm -rf lfacme-${VERSION}
+ mkdir lfacme-${VERSION}
+ tar cf - $$(git ls-tree -r --name-only HEAD) | tar xf - -C lfacme-${VERSION}
+ tar cf lfacme-${VERSION}.tar lfacme-${VERSION}
compress -f lfacme-${VERSION}.tar
@ls -l lfacme-${VERSION}.tar.Z