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
*.d
*.pdf
*.tar.gz
default.sb
default.tex
french.sb

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

Loading…
Cancel
Save