tex-framework/Makefile
2016-05-17 10:32:51 +02:00

31 lines
577 B
Makefile

MAIN := framework.pdf
SRC := config/$(basename $(MAIN)).tex
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
content.tex \
Makefile
all: $(MAIN)
one_page: $(DEP)
@latex config/framework_one_page.tex
latex config/framework_one_page.tex
dvipdf framework_one_page.dvi framework_one_page.pdf
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
$(MAIN) \
framework_one_page.*
$(MAIN): $(DEP)
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)