diff options
author | Igor <pashev.igor@gmail.com> | 2009-11-21 18:38:12 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2009-11-21 18:38:12 +0300 |
commit | 8293cefa318f7a4518f69d3bf90704bf7c40da7e (patch) | |
tree | 1bc0ce3c8a64d7e014a063410396b1bcf380bf67 /vedomost/Makefile | |
download | autodocs-8293cefa318f7a4518f69d3bf90704bf7c40da7e.tar.gz |
Шаблоны чисто документов
Diffstat (limited to 'vedomost/Makefile')
-rw-r--r-- | vedomost/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vedomost/Makefile b/vedomost/Makefile new file mode 100644 index 0000000..1ef7e60 --- /dev/null +++ b/vedomost/Makefile @@ -0,0 +1,27 @@ +TEX = $(wildcard *.tex) +PDF = $(subst .tex,.pdf,$(TEX)) +STA = $(subst .tex,.stat,$(TEX)) + +STAT = perl makestat.pl + +default: pdf stat + +pdf: $(PDF) +stat: $(STA) + +%.pdf: %.tex %.stat %.inc FORCE + pdflatex $< + +%.stat: %.idx + $(STAT) < $< > $@ + +%.idx: %.tex + -pdflatex -halt-on-error -interaction=nonstopmode $< + +clean: + rm -f .*~ *~ *.aux *.idx *.ilg *.log *.stat + +FORCE: + +.PHONY: pdf clean + |