source: rtems/doc/project.am @ 158e2d7

4.104.114.84.95
Last change on this file since 158e2d7 was fb56a37, checked in by Joel Sherrill <joel.sherrill@…>, on 01/22/02 at 17:38:37

2002-01-21 Ralf Corsepius <corsepiu@…>

  • .cvsignore: Reworked.
  • Makefile.am: Remove texinfo/texinfo.tex
  • bootstrap: Removed.
  • configure.ac: Add pkgdocdir. Let htmldir be rooted at pkgdocdir.
  • main.am: Remove TEXINFO_TEX.
  • project.am: Let dvidir, psdir, pdfdir be rooted at pkgdocdir. Remove commented out make-variables.
  • 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):$$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.