1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
# Process this file with GNU make
TOP_DIR = ..
DIST_FILES = \
latex2html-init \
eskdx.pdf \
eskdx.tex.in \
example.tex \
img-form1.svg \
img-form2.svg \
img-form2a.svg \
img-title.svg \
Makefile
include $(TOP_DIR)/include.mak
all: eskdx.pdf
eskdx.tex: eskdx.tex.in $(M4DEPS)
m4 $(M4FLAGS) $< >$@
eskdx.pdf: example.tex \
img-title.pdf img-form1.pdf img-form2.pdf img-form2a.pdf
html.tex: eskdx.tex.in $(M4DEPS)
m4 $(M4FLAGS) -Dm4_HTML $< >$@
html.aux: html.tex
latex $<
html: html.tex html.aux example.tex \
img-title.eps img-form1.eps img-form2.eps img-form2a.eps
latex2html -init_file latex2html-init -iso_language RU $<
%.eps: %.svg
inkscape --without-gui --export-text-to-path \
--export-eps=$@ $<
%.pdf: %.svg
inkscape --without-gui --export-text-to-path \
--export-pdf=$@ $<
clean:
rm -f {eskdx,html}.{aux,out,log,toc}
rm -f html.{tex,dvi} WARNINGS
rm -rf html
rm -f img-{form1,form2,form2a,title}.{eps,pdf}
.PHONY: html
|