summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/uafthesis/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-12 00:34:19 +0000
committerKarl Berry <karl@freefriends.org>2012-12-12 00:34:19 +0000
commit76e9aff676545810d244874dfeb7902698c525d8 (patch)
tree4b15620a01368781e702a9712bf3d012f6ec6c05 /Master/texmf-dist/doc/latex/uafthesis/Makefile
parent1f2b718b5ad8569c1a5b1785bfd0b4d5ac1495ef (diff)
uafthesis (11dec12)
git-svn-id: svn://tug.org/texlive/trunk@28506 c570f23f-e606-0410-a88d-b1316a301751
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