source: rtems/doc/Makefile @ 22cbb9c

4.104.114.84.95
Last change on this file since 22cbb9c was 22cbb9c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/13/99 at 19:47:55

Updated copyright date.

  • 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        cp common/*.gif $(WWW_INSTALL)
28        cp BAD.html $(WWW_INSTALL)
29
30info: env
31        ./do_docs $(BASEDIR) info
32
33html: env
34        ./do_docs $(BASEDIR) html
35
36dvi: dirs env
37        ./do_docs $(BASEDIR) dvi
38
39ps: dirs env
40        ./do_docs $(BASEDIR) ps
41
42pdf: dirs env
43        ./do_docs $(BASEDIR) pdf
44
45clean:
46        ./do_docs $(BASEDIR) clean
47        cd tools/bmenu ; gmake clean
48        cd tools/pdl2texi ; gmake clean
49        cd tools/src2html ; gmake clean
50
51
52.PHONY: tools
53
54tools:
55        cd tools/bmenu ; gmake
56        cd tools/pdl2texi ; gmake
57        cd tools/src2html ; gmake
Note: See TracBrowser for help on using the repository browser.