From f3104d2c8764a2ce94bdb1ddcf68dd7764e2c93f Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Mon, 30 Apr 2012 18:30:01 +0200 Subject: [PATCH] tweak tarball script --- .gitignore | 1 + makefile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d913a000..68800b5a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ utils/send.sh *.out *.d *.pdf +*.tar.gz default.sb default.tex french.sb diff --git a/makefile b/makefile index dfc8af3f..1eb75992 100644 --- a/makefile +++ b/makefile @@ -92,15 +92,16 @@ $(CHORDS): $(CHORDS_SRC) $(MAKE_CHORDS) -o $@ archive: clean - tar -czvf songbook-$(DATE).tar.gz \ + tar -czvf songbook.tar.gz \ --exclude=*pdf \ - --exclude=.git --exclude=.gitignore \ + --exclude-vcs \ --exclude=$(BOOKS_DIR)/default.sb \ --exclude=perso/* --exclude=perso \ --exclude=build/* --exclude=build \ --exclude=covers/* --exclude=covers \ --exclude=data/* --exclude=data \ --exclude=*tar.gz \ + --transform 's/songbook/songbook-$(DATE)/1' \ ../songbook ifeq (.pdf,$(suffix $(MAKECMDGOALS)))