diff options
author | Gustav Eek <gustav@fripost.org> | 2012-06-25 20:30:25 +0200 |
---|---|---|
committer | Gustav Eek <gustav@fripost.org> | 2012-06-25 20:40:36 +0200 |
commit | cf1c1386b1483983f9393383cdc4c60bc1b69379 (patch) | |
tree | b4df9c61dacce6ec2590bca1c026d886541abf4b | |
parent | 06b0b8a569b9d7f807cf76a8d87a409173fc921d (diff) |
Small modification of Makefile
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | 2012/Makefile | 9 |
2 files changed, 10 insertions, 3 deletions
@@ -19,3 +19,7 @@ *.jpg *.pdf *.eepic + +# Test files and temporary files +test.d +test.d/test diff --git a/2012/Makefile b/2012/Makefile index a3d45de..2b3113c 100644 --- a/2012/Makefile +++ b/2012/Makefile @@ -45,18 +45,21 @@ $(minutes1).pdf: $(minutes1).tex ../preamble/preamble.tex while egrep -s 'Rerun (LaTeX|to get cross-references right)' $(minutes1).log && [ $$latex_count -gt 0 ] ;\ do echo "Rerunning latex...." ; pdflatex $(minutes1).tex; latex_count=`expr $$latex_count - 1`; done -send: # sends to fripost.org for publication + # Sends to fripost.org for publication +send: umask 022 rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/ # Debuging and testing send-test: test.d/test umask 022 - rsync -ruvp --chmod=Dugo+rx,Fugo+r rsync -ruvp test.d/ fripost@fripost.org:fripost.org/minutes/ + rsync -ruvp --chmod=Dugo+rx,Fugo+r test.d/ fripost@fripost.org:fripost.org/minutes/ test.d/test: test.d echo This is the test file for fripost-web. > test.d/test test.d: mkdir test.d +# Clean up clean: - rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~ + rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~; rm -f test test.d/test; rmdir test.d + |