aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--2012/Makefile9
2 files changed, 10 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 10c415f..d83e2cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+