source: rtems/doc/project.am @ b009f481

4.115
Last change on this file since b009f481 was e630235, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/11/10 at 07:40:00

Remove EDITION (Unused)

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