Browse Source

tweak tarball script

remotes/karagrat/master
Romain Goffe 13 years ago
parent
commit
f3104d2c87
  1. 1
      .gitignore
  2. 5
      makefile

1
.gitignore

@ -14,6 +14,7 @@ utils/send.sh
*.out *.out
*.d *.d
*.pdf *.pdf
*.tar.gz
default.sb default.sb
default.tex default.tex
french.sb french.sb

5
makefile

@ -92,15 +92,16 @@ $(CHORDS): $(CHORDS_SRC)
$(MAKE_CHORDS) -o $@ $(MAKE_CHORDS) -o $@
archive: clean archive: clean
tar -czvf songbook-$(DATE).tar.gz \ tar -czvf songbook.tar.gz \
--exclude=*pdf \ --exclude=*pdf \
--exclude=.git --exclude=.gitignore \ --exclude-vcs \
--exclude=$(BOOKS_DIR)/default.sb \ --exclude=$(BOOKS_DIR)/default.sb \
--exclude=perso/* --exclude=perso \ --exclude=perso/* --exclude=perso \
--exclude=build/* --exclude=build \ --exclude=build/* --exclude=build \
--exclude=covers/* --exclude=covers \ --exclude=covers/* --exclude=covers \
--exclude=data/* --exclude=data \ --exclude=data/* --exclude=data \
--exclude=*tar.gz \ --exclude=*tar.gz \
--transform 's/songbook/songbook-$(DATE)/1' \
../songbook ../songbook
ifeq (.pdf,$(suffix $(MAKECMDGOALS))) ifeq (.pdf,$(suffix $(MAKECMDGOALS)))

Loading…
Cancel
Save