Files
uhhassignment/Makefile
Kim Wittenburg 82f2834c76 Add Makefile
For convenient compilation
2017-04-23 23:14:25 +02:00

25 lines
533 B
Makefile

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