source: rtems/doc/project.am @ e2a5ab7

4.104.114.84.95
Last change on this file since e2a5ab7 was e2a5ab7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/23/03 at 00:04:34

2003-01-22 Ralf Corsepius <corsepiu@…>

  • project.am, main.am: Use automake rules to build ps, pdf, info. Various minor changes.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1## $Id$
2
3LANG=C
4SUFFIXES = .t
5
6MAINTAINERCLEANFILES =
7CLEANFILES =
8MOSTLYCLEANFILES =
9CLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
10CLEANFILES += $(GENERATED_FILES)
11
12## DVI support
13dvidir = $(pkgdocdir)/dvi
14
15## PS support
16psdir = $(pkgdocdir)/ps
17
18## PDF support
19pdfdir = $(pkgdocdir)/pdf
20
21if EPSTOPDF
22.eps.pdf:
23        $(EPSTOPDF) $< --outfile=$@
24endif
25
26$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
27CLEANFILES += $(PROJECT).pdf
28
29MOSTLYCLEANFILES += $(PDF_IMAGES)
30
31## HTML
32SUFFIXES += .html
33
34rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
35        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
36        -e s%\@VERSION\@%@VERSION@%g \
37        < $< > $@
38rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
39        @sed -e s%\.\./images/%$(top_builddir)/%g \
40        -e s%\@VERSION\@%@VERSION@%g \
41        < $< > $@
42
43index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
44    rtems_header.html rtems_footer.html
45        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
46
47MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
48   rtems_footer.html
49
50## Common installation points
51if USE_HTML
52html_project_DATA = index.html $(PROJECT)*.html
53endif
54
55if USE_DVI
56dvi_DATA = $(PROJECT).dvi
57endif # USE_DVI
58
59if USE_PS
60ps_DATA = $(PROJECT).ps
61endif # USE_PS
62
63
64if USE_PDF
65pdf_DATA = $(PROJECT).pdf
66endif
Note: See TracBrowser for help on using the repository browser.