source: rtems/doc/project.am @ 58e3ab3d

4.104.114.84.95
Last change on this file since 58e3ab3d was 58e3ab3d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/25/03 at 14:58:37

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

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