source: rtems/doc/Makefile @ a446d455

4.104.114.84.95
Last change on this file since a446d455 was a446d455, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/99 at 17:59:37

Disabled building PDF by default.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  $Id$
3#
4
5include Make.config
6
7BASEDIR=$(shell pwd)
8
9all: env info html ps #pdf
10#       find $(WWW_INSTALL) -type f | xargs -e chmod 444
11#       find $(WWW_INSTALL) -type d | xargs -e chmod 555
12
13env: tools dirs headers
14
15dirs:
16        $(make-dirs)
17
18headers:
19        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
20            <$(SRCDIR)/index.html >$(WWW_INSTALL)/index.html
21        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
22            <$(SRCDIR)/rtems_support.html >$(WWW_INSTALL)/rtems_support.html
23        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
24            <$(SRCDIR)/rtems_header.html >$(WWW_INSTALL)/rtems_header.html
25        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
26            <$(SRCDIR)/rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html
27
28info: env
29        ./do_docs $(BASEDIR) info
30
31html: env
32        ./do_docs $(BASEDIR) html
33
34dvi: dirs env
35        ./do_docs $(BASEDIR) dvi
36
37ps: dirs env
38        ./do_docs $(BASEDIR) ps
39
40pdf: dirs env
41        ./do_docs $(BASEDIR) pdf
42
43clean:
44        ./do_docs $(BASEDIR) clean
45        cd tools/bmenu ; gmake clean
46        cd tools/pdl2texi ; gmake clean
47        cd tools/src2html ; gmake clean
48
49
50.PHONY: tools
51
52tools:
53        cd tools/bmenu ; gmake
54        cd tools/pdl2texi ; gmake
55        cd tools/src2html ; gmake
Note: See TracBrowser for help on using the repository browser.