source: rtems/doc/project.am @ 22f5b4c

4.104.114.84.95
Last change on this file since 22f5b4c was 22f5b4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/14/02 at 06:52:20

2002-06-14 Ralf Corsepius <corsepiu@…>

  • project.am: Use PATH_SEPARATOR to setup TEXINPUTS.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1## $Id$
2
3SUFFIXES = .t
4
5MAINTAINERCLEANFILES =
6MOSTLYCLEANFILES =
7CLEANFILES =
8
9MAINTAINERCLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
10MAINTAINERCLEANFILES += $(GENERATED_FILES)
11
12## DVI support
13dvidir = $(pkgdocdir)/dvi
14
15## PS support
16psdir = $(pkgdocdir)/ps
17
18## PDF support
19SUFFIXES += .pdf
20
21pdfdir = $(pkgdocdir)/pdf
22
23SUFFIXES += .eps
24
25if EPSTOPDF
26.eps.pdf:
27        $(EPSTOPDF) $< --outfile=$@
28endif
29
30$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
31CLEANFILES += $(PROJECT).pdf
32
33MOSTLYCLEANFILES += $(PDF_IMAGES)
34
35## HTML
36SUFFIXES += .html
37
38rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
39        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
40        -e s%\@VERSION\@%@VERSION@%g \
41        < $< > $@
42rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
43        @sed -e s%\.\./images/%$(top_builddir)/%g \
44        -e s%\@VERSION\@%@VERSION@%g \
45        < $< > $@
46
47index.html $(PROJECT)*.html: $(PROJECT).texi \
48    rtems_header.html rtems_footer.html
49        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
50
51MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
52   rtems_footer.html
53
54## Common installation points
55if USE_HTML
56html_project_DATA = index.html $(PROJECT)*.html
57endif
58
59if USE_DVI
60dvi_DATA = $(PROJECT).dvi
61
62.texi.dvi:
63        $(TEXI2DVI) -q -I $(srcdir) -I $(top_srcdir) $<
64
65if USE_PS
66ps_DATA = $(PROJECT).ps
67.dvi.ps:
68        TEXINPUTS="$(srcdir)$(PATH_SEPARATOR)$$TEXINPUTS" \
69        $(DVIPS) $< -o $@
70endif # USE_PS
71
72endif # USE_DVI
73
74if USE_PDF
75pdf_DATA = $(PROJECT).pdf
76
77if TEXI2PDF
78.texi.pdf:
79        rm -f *.aux *.cp *.fn *.ky *.pg *.tp *.toc *.vr
80        $(TEXI2PDF) -q -I $(srcdir) -I $(top_srcdir) $<
81endif
82
83endif
Note: See TracBrowser for help on using the repository browser.