tex-framework/Makefile

26 lines
421 B
Makefile
Raw Normal View History

2015-06-25 08:18:01 +00:00
MAIN := framework.pdf
SRC := $(basename $(MAIN)).tex
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
config/titlepage.tex \
2015-06-25 08:39:48 +00:00
content.tex \
2015-06-25 08:18:01 +00:00
Makefile
all: $(MAIN) $(DEP)
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
$(MAIN)
$(MAIN):
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)