commit aa7fa97c5301315aeb1bf361ace2b1b91ebb2bbe
parent 31779c429b85ee384455d13522bbdc7a50dbbd2d
Author: Enno Boland (Gottox) <g@s01.de>
Date: Thu, 8 Nov 2012 00:58:17 +0100
Using sltar for "make dist"
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -29,12 +29,12 @@ clean:
@echo cleaning
@rm -f -- ${OBJ} ${TARGET} ${TARGET}-${VERSION}.tar.gz
-dist: clean
+dist: sltar
@echo creating dist tarball
@mkdir -p ${TARGET}-${VERSION}
@cp -R LICENSE Makefile config.mk \
${TARGET}.1 ${SRC} ${TARGET}-${VERSION}
- @tar -cf ${TARGET}-${VERSION}.tar ${TARGET}-${VERSION}
+ @./sltar c ${TARGET}-${VERSION} > ${TARGET}-${VERSION}.tar
@gzip ${TARGET}-${VERSION}.tar
@rm -rf ${TARGET}-${VERSION}