summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eskdx/manual/Makefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/eskdx/manual/Makefile
Initial commit
Diffstat (limited to 'macros/latex/contrib/eskdx/manual/Makefile')
-rw-r--r--macros/latex/contrib/eskdx/manual/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/macros/latex/contrib/eskdx/manual/Makefile b/macros/latex/contrib/eskdx/manual/Makefile
new file mode 100644
index 0000000000..327effcd57
--- /dev/null
+++ b/macros/latex/contrib/eskdx/manual/Makefile
@@ -0,0 +1,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