source: rtems/doc/project.am @ 805d764d

4.104.114.84.95
Last change on this file since 805d764d was 805d764d, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 26, 2003 at 3:30:34 PM

2003-11-26 Ralf Corsepius <corsepiu@…>

  • project.am: Remove $(PROJECT).info* from CLEANFILES (Doesn't work with automake-1.7f/1.8 anymore).
  • 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# HACK: Force generation of version.texi
18version.texi: stamp-vti
19
20# Without $(srcdir) in TEXINPUTS, dvips doesn't find the *.eps
21# we distribute in $(srcdir)
22.dvi.ps:
23        TEXINPUTS="$(srcdir)${PATH_SEPARATOR}$$TEXINPUTS" \
24        $(DVIPS) -o $@ $<
25
26## DVI support
27dvidir = $(pkgdocdir)/dvi
28
29## PS support
30psdir = $(pkgdocdir)/ps
31
32## PDF support
33pdfdir = $(pkgdocdir)/pdf
34
35if EPSTOPDF
36.eps.pdf:
37        $(EPSTOPDF) $< --outfile=$@
38endif
39
40$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
41CLEANFILES += $(PROJECT).pdf
42
43MOSTLYCLEANFILES += $(PDF_IMAGES)
44
45## HTML
46SUFFIXES += .html
47
48rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
49        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
50        -e s%\@VERSION\@%@VERSION@%g \
51        < $< > $@
52rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
53        @sed -e s%\.\./images/%$(top_builddir)/%g \
54        -e s%\@VERSION\@%@VERSION@%g \
55        < $< > $@
56
57index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
58    rtems_header.html rtems_footer.html
59        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
60
61MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
62   rtems_footer.html
63
64## Common installation points
65if USE_HTML
66html_project_DATA = index.html $(PROJECT)*.html
67endif
68
69if USE_DVI
70dvi_DATA = $(PROJECT).dvi
71endif # USE_DVI
72
73if USE_PS
74ps_DATA = $(PROJECT).ps
75endif # USE_PS
76
77if USE_PDF
78pdf_DATA = $(PROJECT).pdf
79endif
80
81COMMON_FILES = $(top_srcdir)/common/setup.texi
82COMMON_FILES += $(top_builddir)/common/rtems.texi
83
84$(top_builddir)/common/rtems.texi: $(top_srcdir)/common/rtems.texi.in $(top_builddir)/common/rtems.sed
85        sed -f $(top_builddir)/common/rtems.sed \
86          $(top_srcdir)/common/rtems.texi.in > $(top_builddir)/common/rtems.texi
Note: See TracBrowser for help on using the repository browser.