summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/uafthesis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/uafthesis/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/uafthesis/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/uafthesis/Makefile b/Master/texmf-dist/doc/latex/uafthesis/Makefile
new file mode 100644
index 00000000000..06a19ea3168
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uafthesis/Makefile
@@ -0,0 +1,28 @@
+example.pdf:
+ @echo "-> building example.pdf..."
+ @cd example && ./build.sh > /dev/null
+ @mv example/example.pdf ./
+
+clean:
+ @echo "-> cleaning..."
+ @git clean -xdf > /dev/null
+ @rm example.pdf
+
+test: clean example.pdf
+ @# Feel free to make this smarter.
+ @echo "-> Opening example.pdf in evince. Does it look okay?"
+ @`evince example.pdf &2> /dev/null`
+
+publish: example.pdf clean
+ @echo "-> creating tarball..."
+ @tar -czf /tmp/uafthesis.tgz --exclude=.git ../uafthesis > /dev/null
+ curl --form "contribution=uafthesis" \
+ --form "name=Joshua Holbrook" \
+ --form "email=josh.holbrook@gmail.com" \
+ --form "summary=Document class for theses at University of Alaska Fairbanks." \
+ --form "version=12.12" \
+ --form "directory=/macros/latex/contrib/uafthesis" \
+ --form "license=free" \
+ --form "freeversion=lppl" \
+ --form "file=@/tmp/uafthesis.tgz" \
+ http://www.tex.ac.uk/cgi-bin/ctan-upload.cgi