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)))