summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/disser/templates-utf8/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/disser/templates-utf8/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/disser/templates-utf8/Makefile')
-rw-r--r--macros/latex/contrib/disser/templates-utf8/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/latex/contrib/disser/templates-utf8/Makefile b/macros/latex/contrib/disser/templates-utf8/Makefile
new file mode 100644
index 0000000000..91acf101e1
--- /dev/null
+++ b/macros/latex/contrib/disser/templates-utf8/Makefile
@@ -0,0 +1,34 @@
+#
+# Makefile for documents and templates
+# Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+#
+
+TARGET ?= thesis
+TEXMF ?= /usr/share/texmf
+DESTDIR ?= $(TEXMF)
+DOCDIR ?= $(DESTDIR)/doc/latex/disser
+
+.PHONY: help install uninstall reinstall
+
+dvi clean figclean bmtoeps epstopdf fixbb pdftopng256 pdftotiffg4 ps ps_2on1 pdf pdf_2on1 html srcdist all allpdf:
+ @$(MAKE) -i -C bachelor $@
+ @$(MAKE) -i -C specialist $@
+ @$(MAKE) -i -C master $@
+ @$(MAKE) -i -C candidate $@
+ @$(MAKE) -i -C doctor $@
+
+help:
+ @$(MAKE) -s -C candidate $@ ;\
+ echo " install install templates" ;\
+ echo " uninstall uninstall templates" ;\
+ echo " reinstall reinstall templates"
+
+install:
+ cp -rf ../templates $(DOCDIR) ;\
+ cp -rf ../templates-utf8 $(DOCDIR) ;\
+ cp -rf ../include $(DOCDIR)
+
+uninstall:
+ -rm -rf $(DOCDIR)
+
+reinstall: uninstall install