summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/talk/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/talk/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/talk/Makefile')
-rw-r--r--macros/latex/contrib/talk/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/latex/contrib/talk/Makefile b/macros/latex/contrib/talk/Makefile
new file mode 100644
index 0000000000..8bc7aa86e5
--- /dev/null
+++ b/macros/latex/contrib/talk/Makefile
@@ -0,0 +1,30 @@
+MF=Makefile
+
+INSTALLDIR=${HOME}/share/texmf/tex/latex
+
+SRC=\
+talk.cls \
+sidebars.sty \
+talkdoc.tex \
+example.tex
+
+OTHER=\
+README
+
+DOC=\
+talkdoc.pdf
+
+TAR=talk.tar.gz
+
+all: $(DOC)
+
+$(DOC): talkdoc.tex
+ pdflatex talkdoc.tex && pdflatex talkdoc.tex
+
+backup: $(MF) $(SRC) $(DOC) $(OTHER)
+ rm -f $(TAR)
+ tar zcvf $(TAR) $(MF) $(SRC) $(DOC) $(OTHER)
+
+install: talk.cls sidebars.sty
+ install talk.cls $(INSTALLDIR)/talk.cls
+ install sidebars.sty $(INSTALLDIR)/sidebars.sty