Add Makefile

For convenient compilation
This commit is contained in:
Kim Wittenburg
2017-04-23 23:14:25 +02:00
parent 4b81252cd6
commit 82f2834c76

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
TEXENGINE = pdflatex
MAKEINDEX = makeindex
CLASS_NAME = uhhassignment
INDEX_NAME = gind
GLOSSARY_NAME = gglo
dist: clean doc package cleantmp
doc:
$(TEXENGINE) $(CLASS_NAME).dtx
$(MAKEINDEX) -s $(INDEX_NAME).ist $(CLASS_NAME)
$(MAKEINDEX) -s $(GLOSSARY_NAME).ist -o $(CLASS_NAME).gls $(CLASS_NAME).glo
$(TEXENGINE) $(CLASS_NAME).dtx
$(TEXENGINE) $(CLASS_NAME).dtx
package:
$(TEXENGINE) $(CLASS_NAME).ins
clean cleantmp:
rm -f *.pdf *.cls
cleantmp:
rm -f *.log *.aux *.log *.glo *.gls *.hd *.idx *.ilg *.ind *.out *.toc