source: rtems/doc/Makefile @ bc0307e

4.104.114.84.95
Last change on this file since bc0307e was bc0307e, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 26, 1998 at 8:33:27 PM

Added build of tools to build procedure.

Automatically insert version information into headers and footers..

  • Property mode set to 100644
File size: 948 bytes
Line 
1#
2#  $Id$
3#
4
5include Make.config
6
7BASEDIR=$(shell pwd)
8
9all: env info html ps
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        -mkdir $(DOC_INSTALL_BASE)
17        -mkdir $(WWW_INSTALL)
18        -mkdir $(INFO_INSTALL)
19        -mkdir $(PS_INSTALL)
20
21headers:
22        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
23            <index.html >$(WWW_INSTALL)/index.html
24        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
25            <rtems_header.html >$(WWW_INSTALL)/rtems_header.html
26        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
27            <rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html
28
29info: env
30        ./do_docs $(BASEDIR) info
31
32html: env
33        cp common/*.gif common/*.jpg $(WWW_INSTALL)
34        ./do_docs $(BASEDIR) html
35
36ps: env
37        ./do_docs $(BASEDIR) ps
38
39clean:
40        ./do_docs $(BASEDIR) clean
41        cd tools/bmenu ; gmake clean
42        cd tools/pdl2texi ; gmake clean
43
44
45.PHONY: tools
46
47tools:
48        cd tools/bmenu ; gmake
49        cd tools/pdl2texi ; gmake
Note: See TracBrowser for help on using the repository browser.