summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/templates/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/templates/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/Makefile41
1 files changed, 26 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/templates/Makefile b/Master/texmf-dist/doc/latex/disser/templates/Makefile
index e30dd8b9b24..37488ee350c 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/Makefile
@@ -1,15 +1,26 @@
-TARGET=disser
-DOCDIR?=$(TEXMF)/doc/latex/$(TARGET)
-
-dvi ps ps_2on1 pdf pdf_2on1 html clean epstopdf fixbb srcdist all allpdf:
- @$(MAKE) -i -C bachelor $@
- @$(MAKE) -i -C master $@
- @$(MAKE) -i -C candidate $@
- @$(MAKE) -i -C doctor $@
-
-help:
- @$(MAKE) -C bachelor $@
-
-install:
- cp -rf ../templates $(DOCDIR)
- cp -rf ../include $(DOCDIR) \ No newline at end of file
+TARGET=thesis
+TEXMF?=/usr/share/texmf
+DOCDIR?=$(TEXMF)/doc/latex/disser
+
+dvi ps ps_2on1 pdf pdf_2on1 html clean epstopdf fixbb srcdist all allpdf:
+ @$(MAKE) -i -C bachelor $@
+ @$(MAKE) -i -C master $@
+ @$(MAKE) -i -C candidate $@
+ @$(MAKE) -i -C doctor $@
+
+help:
+ @$(MAKE) -s -C bachelor $@
+ @echo " install install templates to TeX tree"
+ @echo " uninstall uninstall templates"
+ @echo " reinstall reinstall templates"
+
+install:
+ cp -rf ../templates $(DOCDIR)
+ cp -rf ../include $(DOCDIR)
+
+uninstall:
+ rm -rf $(DOCDIR)/templates
+ rm -rf $(DOCDIR)/include
+ rmdir $(DOCDIR)
+
+reinstall: uninstall install