source: rtems/doc/project.am @ f28a6af2

4.104.114.84.95
Last change on this file since f28a6af2 was f28a6af2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 24, 2003 at 11:16:35 AM

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

  • main.am: Remove AM_MAKEINFOFLAGS, TEXI2DVI, TEXI2PDF. Append -I $(top_builddir) to TEXI2WWW_ARGS.
  • project.am: Add AM_MAKEINFOFLAGS, TEXI2DVI, TEXI2PDF. Override automake's .dvi.ps:-rule.
  • Property mode set to 100644
File size: 1.7 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# Without $(srcdir) in TEXINPUTS, dvips doesn't find the *.eps
19# we distribute in $(srcdir)
20.dvi.ps:
21        TEXINPUTS="$(srcdir)${PATH_SEPARATOR}$$TEXINPUTS" \
22        $(DVIPS) -o $@ $<
23
24## DVI support
25dvidir = $(pkgdocdir)/dvi
26
27## PS support
28psdir = $(pkgdocdir)/ps
29
30## PDF support
31pdfdir = $(pkgdocdir)/pdf
32
33if EPSTOPDF
34.eps.pdf:
35        $(EPSTOPDF) $< --outfile=$@
36endif
37
38$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
39CLEANFILES += $(PROJECT).pdf
40
41MOSTLYCLEANFILES += $(PDF_IMAGES)
42
43## HTML
44SUFFIXES += .html
45
46rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
47        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
48        -e s%\@VERSION\@%@VERSION@%g \
49        < $< > $@
50rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
51        @sed -e s%\.\./images/%$(top_builddir)/%g \
52        -e s%\@VERSION\@%@VERSION@%g \
53        < $< > $@
54
55index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
56    rtems_header.html rtems_footer.html
57        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
58
59MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
60   rtems_footer.html
61
62## Common installation points
63if USE_HTML
64html_project_DATA = index.html $(PROJECT)*.html
65endif
66
67if USE_DVI
68dvi_DATA = $(PROJECT).dvi
69endif # USE_DVI
70
71if USE_PS
72ps_DATA = $(PROJECT).ps
73endif # USE_PS
74
75if USE_PDF
76pdf_DATA = $(PROJECT).pdf
77endif
Note: See TracBrowser for help on using the repository browser.