oarc-dsc/doc/Makefile
Daniel Baumann 69e263a68b
Adding upstream version 2.15.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-03-19 19:30:06 +01:00

45 lines
630 B
Makefile

.SUFFIXES: .fig .eps .png
FIGS=\
dsc-arch.eps \
screenshot1.eps
DOC=dsc-manual
$(DOC).pdf: $(DOC).ps
ps2pdf $(DOC).ps > $@
$(DOC).ps: $(DOC).dvi
dvips $(DOC).dvi > $@
$(DOC).dvi: $(DOC).tex $(FIGS)
latex $(DOC).tex
latex $(DOC).tex
latex $(DOC).tex
.fig.eps:
fig2dev -L eps $< > $@
.png.eps:
pngtopnm $< | pnmtops -noturn > $@
all: $(DOC).ps $(DOC).pdf
clean-junk:
rm -f $(FIGS)
rm -f $(DOC).aux
rm -f $(DOC).dvi
rm -f $(DOC).log
rm -f $(DOC).toc
clean: clean-junk
rm -f $(DOC).pdf
rm -f $(DOC).ps
clean-release: clean-junk
rm -f $(DOC).tex
rm -f dsc-arch.fig
rm -f screenshot1.png
rm -f Makefile