source: rtems/doc/project.am @ aecc1d9

4.104.114.84.95
Last change on this file since aecc1d9 was aecc1d9, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/02 at 16:57:07

2002-01-19 Ralf Corsepius <corsepiu@…>

  • .cvsignore: Add autom4te.cache, install-sh, mdate-sh, missing, mkinstalldirs, texinfo.tex.
  • Makefile.am: Add main.am to AUTOMAKE_FILES.
  • configure.ac: Add AC_CONFIG_AUX_DIR(.).
  • project.am: Remove custom .texi and stamp-vti rules.
  • main.am: Replace TEXI_COMMON with AM_MAKEINFOFLAGS.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1## $Id$
2
3SUFFIXES = .t
4
5MAINTAINERCLEANFILES =
6MOSTLYCLEANFILES =
7CLEANFILES =
8
9MAINTAINERCLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
10MAINTAINERCLEANFILES += $(GENERATED_FILES)
11
12## DVI support
13dvidir = $(pkgdatadir)/dvi
14## dvi_projectdir = $(dvidir)/$(PROJECT)
15
16## PS support
17psdir = $(pkgdatadir)/ps
18## ps_projectdir = $(psdir)/$(PROJECT)
19
20## PDF support
21SUFFIXES += .pdf
22
23pdfdir = $(pkgdatadir)/pdf
24## pdf_projectdir = $(pdfdir)/$(PROJECT)
25
26SUFFIXES += .eps
27
28if EPSTOPDF
29.eps.pdf:
30        $(EPSTOPDF) $< --outfile=$@
31endif
32
33$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
34CLEANFILES += $(PROJECT).pdf
35
36MOSTLYCLEANFILES += $(PDF_IMAGES)
37
38## HTML
39SUFFIXES += .html
40
41rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
42        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
43        -e s%\@VERSION\@%@VERSION@%g \
44        < $< > $@
45rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
46        @sed -e s%\.\./images/%$(top_builddir)/%g \
47        -e s%\@VERSION\@%@VERSION@%g \
48        < $< > $@
49
50index.html $(PROJECT)*.html: $(PROJECT).texi \
51    rtems_header.html rtems_footer.html
52        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
53
54MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
55   rtems_footer.html
56
57## Common installation points
58if USE_HTML
59html_project_DATA = index.html $(PROJECT)*.html
60endif
61
62if USE_DVI
63dvi_DATA = $(PROJECT).dvi
64
65.texi.dvi:
66        $(TEXI2DVI) -q -I $(srcdir) -I $(top_srcdir) $<
67
68if USE_PS
69ps_DATA = $(PROJECT).ps
70.dvi.ps:
71        TEXINPUTS=$(srcdir):$$TEXINPUTS \
72        $(DVIPS) $< -o $@
73endif # USE_PS
74
75endif # USE_DVI
76
77if USE_PDF
78pdf_DATA = $(PROJECT).pdf
79
80if TEXI2PDF
81.texi.pdf:
82        rm -f *.aux *.cp *.fn *.ky *.pg *.tp *.toc *.vr
83        $(TEXI2PDF) -q -I $(srcdir) -I $(top_srcdir) $<
84endif
85
86endif
Note: See TracBrowser for help on using the repository browser.