source: rtems/doc/project.am @ 62181b21

4.115
Last change on this file since 62181b21 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1# HACK: makeinfo is locale sensitive
2LANG=C
3
4SUFFIXES = .t
5
6MAINTAINERCLEANFILES =
7CLEANFILES =
8MOSTLYCLEANFILES =
9CLEANFILES += $(GENERATED_FILES)
10
11AM_MAKEINFOFLAGS = -I $(top_builddir) -I $(top_srcdir)
12TEXI2DVI = @TEXI2DVI@ -I $(top_builddir) -I $(top_srcdir)
13TEXI2PDF = @TEXI2PDF@ -I $(top_builddir) -I $(top_srcdir)
14
15# Without $(srcdir) in TEXINPUTS, dvips doesn't find the *.eps
16# we distribute in $(srcdir)
17.dvi.ps:
18        TEXINPUTS="$(srcdir)${PATH_SEPARATOR}$$TEXINPUTS" \
19        $(DVIPS) -o $@ $<
20
21## DVI support
22dvidir = $(pkgdocdir)/dvi
23
24## PS support
25psdir = $(pkgdocdir)/ps
26
27## PDF support
28pdfdir = $(pkgdocdir)/pdf
29
30if EPSTOPDF
31.eps.pdf:
32        $(EPSTOPDF) $< --outfile=$@
33endif
34
35$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
36CLEANFILES += $(PROJECT).pdf
37
38MOSTLYCLEANFILES += $(PDF_IMAGES)
39
40## HTML
41SUFFIXES += .html
42
43$(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
44        rm -rf $(PROJECT).html
45        $(TEXI2HTML) $(TEXI2HTML_ARGS) --menu $< $<
46        -rm -rf $(PROJECT)
47
48MOSTLYCLEANFILES += $(PROJECT)*.html
49
50## Common installation points
51if USE_HTML
52html_project_DATA = $(PROJECT)*.html
53endif
54
55if USE_DVI
56dvi_DATA = $(PROJECT).dvi
57endif # USE_DVI
58
59if USE_PS
60ps_DATA = $(PROJECT).ps
61endif # USE_PS
62
63if USE_PDF
64pdf_DATA = $(PROJECT).pdf
65endif
66
67COMMON_FILES = $(top_srcdir)/common/setup.texi
68COMMON_FILES += $(top_builddir)/common/rtems.texi
69
70$(top_builddir)/common/rtems.texi: $(top_srcdir)/common/rtems.texi.in $(top_builddir)/common/rtems.sed
71        sed -f $(top_builddir)/common/rtems.sed \
72          $(top_srcdir)/common/rtems.texi.in > $(top_builddir)/common/rtems.texi
73
74$(srcdir)/version.texi:
Note: See TracBrowser for help on using the repository browser.