source: rtems/doc/project.am @ 24dd0fb

4.104.114.84.95
Last change on this file since 24dd0fb was 24dd0fb, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 22, 2003 at 8:59:49 AM

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

  • Makefile.am: Merger from rtems-4-6-branch.
  • configure.ac: Merger from rtems-4-6-branch. Purge hppa1.1.
  • index.html.in: Purge hppa1.1.
  • project.am: Merger from rtems-4-6-branch.
  • rtems_support.html.in: Purge hppa1.1.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1## $Id$
2
3# HACK: makeinfo is locale sensitive
4LANG=C
5
6SUFFIXES = .t
7
8MAINTAINERCLEANFILES =
9CLEANFILES =
10MOSTLYCLEANFILES =
11CLEANFILES += $(PROJECT).info $(PROJECT).info-[0-9] $(PROJECT).info-[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
81
82COMMON_FILES = $(top_srcdir)/common/setup.texi
83COMMON_FILES += $(top_builddir)/common/rtems.texi
84
85$(top_builddir)/common/rtems.texi: $(top_srcdir)/common/rtems.texi.in $(top_builddir)/common/rtems.sed
86        sed -f $(top_builddir)/common/rtems.sed \
87          $(top_srcdir)/common/rtems.texi.in > $(top_builddir)/common/rtems.texi
Note: See TracBrowser for help on using the repository browser.