tex-framework/Makefile

27 lines
440 B
Makefile
Raw Permalink Normal View History

2015-06-25 08:18:01 +00:00
MAIN := framework.pdf
2015-10-09 13:29:33 +00:00
SRC := config/$(basename $(MAIN)).tex
2015-06-25 08:18:01 +00:00
DEP := \
config/headfoot.tex \
config/sourcelst.tex \
config/titlepage.tex \
Makefile
2016-04-28 12:56:14 +00:00
DEP += $(wildcard ./*.tex)
2015-10-09 13:06:37 +00:00
all: $(MAIN)
2015-06-25 08:18:01 +00:00
clean:
rm -f \
$(basename $(MAIN)).aux \
$(basename $(MAIN)).dvi \
$(basename $(MAIN)).log \
$(basename $(MAIN)).out \
$(basename $(MAIN)).toc \
$(MAIN)
2015-10-09 13:06:37 +00:00
$(MAIN): $(DEP)
2015-06-25 08:18:01 +00:00
@latex $(SRC)
latex $(SRC)
dvipdf $(basename $(MAIN)).dvi $(MAIN)