blob: 9521a405147a0c9c4881cfa8b77f85cfb94b96d3 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
## Process this file with automake to generate Makefile.in
AUTOMAKE_OPTIONS = cygnus
info_TEXINFOS = dejagnu.texi
TARGETS = overview.rtf overview.html overview.dvi overview.ps
docs: $(TARGETS)
%.ps: %.dvi
dvips -o $@ $<
%.pdf: %.sgml
db2pdf $<
%.dvi: %.sgml
db2dvi $<
%.rtf: %.sgml
db2rtf -o $@ $<
%.gif: %.fig
convert -transparency white $< $@ # .fig -> .gif
%.epsi: %.eps
ps2epsi $< # .eps -> .epsi
%.eps: %.fig
fig2dev -L ps -m 0.7 -p dummy $< > $@ # .fig -> .eps/portrait
%.html: %.sgml
db2html $<
# now for some extra dependencies that the automatic rules will not
# catch:
overview.pdf overview.ps overview.dvi overview.rtf overview.html: overview.sgml ref.sgml user.sgml
clean:
rm -f $(TARGETS)
# install-data-local: overview.pdf overview.html
# $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html
# $(INSTALL_DATA) overview/*.html $(DESTDIR)$(pkgdatadir)/html
# $(INSTALL_DATA) overview.ps $(DESTDIR)$(pkgdatadir)/dejagnu.ps
# $(INSTALL_DATA) overview.pdf $(DESTDIR)$(pkgdatadir)/dejagnu.pdf
|