txz timestamped dist

This commit is contained in:
Markku-Juhani O. Saarinen
2015-12-14 11:01:23 +00:00
parent b2944dee3a
commit ef495818c7
2 changed files with 4 additions and 2 deletions

View File

@@ -20,5 +20,7 @@ $(BINARY): $(OBJS)
clean:
rm -rf $(DIST).tgz $(OBJS) $(BINARY) *~
dist: clean
cd ..; tar cfvz $(DIST)/$(DIST).tgz $(DIST)/*
dist: clean
cd ..; \
tar cfvJ $(DIST)/$(DIST)-`date -u "+%Y%m%d%H%M00"`.txz \
$(DIST)/*