source: rtems/doc/project.am @ e630235

4.115
Last change on this file since e630235 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
RevLine 
[2ba8875]1## $Id$
2
[f28a6af2]3# HACK: makeinfo is locale sensitive
[e2a5ab7]4LANG=C
[f28a6af2]5
[21e473b]6SUFFIXES = .t
7
8MAINTAINERCLEANFILES =
9CLEANFILES =
[e2a5ab7]10MOSTLYCLEANFILES =
11CLEANFILES += $(GENERATED_FILES)
[2ba8875]12
[f28a6af2]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
[2ba8875]23## DVI support
[fb56a37]24dvidir = $(pkgdocdir)/dvi
[2ba8875]25
26## PS support
[fb56a37]27psdir = $(pkgdocdir)/ps
[2ba8875]28
29## PDF support
[fb56a37]30pdfdir = $(pkgdocdir)/pdf
[2ba8875]31
32if EPSTOPDF
33.eps.pdf:
[110445c]34        $(EPSTOPDF) $< --outfile=$@
[2ba8875]35endif
36
[fdbfff18]37$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
[2ba8875]38CLEANFILES += $(PROJECT).pdf
39
[fdbfff18]40MOSTLYCLEANFILES += $(PDF_IMAGES)
41
[2ba8875]42## HTML
43SUFFIXES += .html
44
[110445c]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        < $< > $@
[2ba8875]53
[8a86d78d]54index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
55    rtems_header.html rtems_footer.html
[2ba8875]56        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
57
[110445c]58MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
59   rtems_footer.html
[2ba8875]60
61## Common installation points
62if USE_HTML
[21e473b]63html_project_DATA = index.html $(PROJECT)*.html
[2ba8875]64endif
65
66if USE_DVI
[21e473b]67dvi_DATA = $(PROJECT).dvi
[e2a5ab7]68endif # USE_DVI
[2ba8875]69
70if USE_PS
[21e473b]71ps_DATA = $(PROJECT).ps
[1c43eba5]72endif # USE_PS
73
[2ba8875]74if USE_PDF
[21e473b]75pdf_DATA = $(PROJECT).pdf
[2ba8875]76endif
[24dd0fb]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
[e630235]84
85$(srcdir)/version.texi:
Note: See TracBrowser for help on using the repository browser.