source: rtems/doc/project.am @ 21e473b

4.104.114.84.95
Last change on this file since 21e473b was 21e473b, checked in by Joel Sherrill <joel.sherrill@…>, on 01/18/02 at 15:10:54

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

  • Makefile.am: Require automake-1.5.
  • project.am: Reworked.
  • main.am: New.
  • configure.ac: New.
  • configure.in: Removed.
  • bootstrap: Sync with RTEMS's toplevel bootstrap.sh.
  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[2ba8875]1## $Id$
2
[21e473b]3SUFFIXES = .t
4
5MAINTAINERCLEANFILES =
6MOSTLYCLEANFILES =
7CLEANFILES =
[2ba8875]8
9## Texinfo support
[110445c]10
11.texi:
12        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
[e90e428]13        cd $(srcdir) && \
14          $(MAKEINFO) $(TEXI_COMMON) `echo $< | sed 's,.*/,,'`
[2ba8875]15
[21e473b]16$(srcdir)/stamp-vti: $(PROJECT).texi $(top_srcdir)/configure.ac
[fc76a6aa]17        @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh \
18          $(srcdir)/$(PROJECT).texi`" > vti.tmp
19        @echo "@set EDITION $(EDITION)" >> vti.tmp
20        @echo "@set VERSION $(VERSION)" >> vti.tmp
21        @cmp -s vti.tmp $(srcdir)/version.texi \
22          || (echo "Updating $(srcdir)/version.texi"; \
23              cp vti.tmp $(srcdir)/version.texi)
24        -@rm -f vti.tmp
25        @cp $(srcdir)/version.texi $@
26
[2ba8875]27MAINTAINERCLEANFILES += $(PROJECT) $(PROJECT)-[0-9] $(PROJECT)-[0-9][0-9]
28MAINTAINERCLEANFILES += $(GENERATED_FILES)
29
30## DVI support
31dvidir = $(pkgdatadir)/dvi
32## dvi_projectdir = $(dvidir)/$(PROJECT)
33
34## PS support
35psdir = $(pkgdatadir)/ps
36## ps_projectdir = $(psdir)/$(PROJECT)
37
38## PDF support
39SUFFIXES += .pdf
40
41pdfdir = $(pkgdatadir)/pdf
42## pdf_projectdir = $(pdfdir)/$(PROJECT)
43
44SUFFIXES += .eps
45
46if EPSTOPDF
47.eps.pdf:
[110445c]48        $(EPSTOPDF) $< --outfile=$@
[2ba8875]49endif
50
[fdbfff18]51$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
[2ba8875]52CLEANFILES += $(PROJECT).pdf
53
[fdbfff18]54MOSTLYCLEANFILES += $(PDF_IMAGES)
55
[2ba8875]56## HTML
57SUFFIXES += .html
58
[110445c]59rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
60        @sed -e s%\.\./images/%$(top_builddir)/images/%g \
61        -e s%\@VERSION\@%@VERSION@%g \
62        < $< > $@
63rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
64        @sed -e s%\.\./images/%$(top_builddir)/%g \
65        -e s%\@VERSION\@%@VERSION@%g \
66        < $< > $@
[2ba8875]67
68index.html $(PROJECT)*.html: $(PROJECT).texi \
[110445c]69    rtems_header.html rtems_footer.html
[2ba8875]70        $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
71
[110445c]72MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
73   rtems_footer.html
[2ba8875]74
75## Common installation points
76if USE_HTML
[21e473b]77html_project_DATA = index.html $(PROJECT)*.html
[2ba8875]78endif
79
80if USE_DVI
[21e473b]81dvi_DATA = $(PROJECT).dvi
[1c43eba5]82
83.texi.dvi:
[6449498]84        $(TEXI2DVI) -q -I $(srcdir) -I $(top_srcdir) $<
[2ba8875]85
86if USE_PS
[21e473b]87ps_DATA = $(PROJECT).ps
[1c43eba5]88.dvi.ps:
89        TEXINPUTS=$(srcdir):$$TEXINPUTS \
90        $(DVIPS) $< -o $@
91endif # USE_PS
92
93endif # USE_DVI
[2ba8875]94
95if USE_PDF
[21e473b]96pdf_DATA = $(PROJECT).pdf
[1c43eba5]97
98if TEXI2PDF
99.texi.pdf:
[6449498]100        rm -f *.aux *.cp *.fn *.ky *.pg *.tp *.toc *.vr
101        $(TEXI2PDF) -q -I $(srcdir) -I $(top_srcdir) $<
[1c43eba5]102endif
103
[2ba8875]104endif
Note: See TracBrowser for help on using the repository browser.