summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eskdx/manual/Makefile
blob: 8183ab40f2120fe492654a14c034a7a0cfec4bd2 (plain)
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
# Process this file with GNU make
TOP_DIR = ..

DIST_FILES = \
	     latex2html-init \
	     eskdx.pdf \
	     eskdx.tex.in \
	     example.tex \
	     Makefile

include $(TOP_DIR)/include.mak

all: eskdx.pdf

eskdx.tex: eskdx.tex.in $(M4DEPS)
	m4 $(M4FLAGS) $< >$@

eskdx.pdf: example.tex

html.tex: eskdx.tex.in $(M4DEPS)
	m4 $(M4FLAGS) -Dm4_HTML $< >$@

html.aux: html.tex
	latex $<

html: html.tex html.aux example.tex
	latex2html -init_file latex2html-init -iso_language RU $<

clean:
	rm -f {eskdx,html}.{aux,out,log,toc}
	rm -f html.{tex,dvi} WARNINGS
	rm -rf html

.PHONY: html