source: rtems/doc/project.am @ 48e02af

4.115
Last change on this file since 48e02af was 2571c79e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/09/11 at 15:20:14

2011-12-09 Ralf Corsépius <ralf.corsepius@…>

  • project.am (MOSTLYCLEANFILES): Remove index.html.
  • ada_user/Makefile.am (CLEANFILES): Fixup image handling.
  • Property mode set to 100644
File size: 1.6 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
45$(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
46        rm -rf $(PROJECT).html
47        $(TEXI2HTML) $(TEXI2HTML_ARGS) --menu $< $<
48        -rm -rf $(PROJECT)
49
50MOSTLYCLEANFILES += $(PROJECT)*.html
51
52## Common installation points
53if USE_HTML
54html_project_DATA = $(PROJECT)*.html
55endif
56
57if USE_DVI
58dvi_DATA = $(PROJECT).dvi
59endif # USE_DVI
60
61if USE_PS
62ps_DATA = $(PROJECT).ps
63endif # USE_PS
64
65if USE_PDF
66pdf_DATA = $(PROJECT).pdf
67endif
68
69COMMON_FILES = $(top_srcdir)/common/setup.texi
70COMMON_FILES += $(top_builddir)/common/rtems.texi
71
72$(top_builddir)/common/rtems.texi: $(top_srcdir)/common/rtems.texi.in $(top_builddir)/common/rtems.sed
73        sed -f $(top_builddir)/common/rtems.sed \
74          $(top_srcdir)/common/rtems.texi.in > $(top_builddir)/common/rtems.texi
75
76$(srcdir)/version.texi:
Note: See TracBrowser for help on using the repository browser.