source: rtems/doc/Makefile @ ca0b18a1

4.104.114.84.95
Last change on this file since ca0b18a1 was 266ae228, checked in by Joel Sherrill <joel.sherrill@…>, on 03/30/98 at 14:26:33

Added directories

  • Property mode set to 100644
File size: 1.0 KB
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 $(WWW_INSTALL)/partners
19        -mkdir $(WWW_INSTALL)/support
20        -mkdir $(WWW_INSTALL)/internal
21        -mkdir $(INFO_INSTALL)
22        -mkdir $(PS_INSTALL)
23
24headers:
25        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
26            <index.html >$(WWW_INSTALL)/index.html
27        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
28            <rtems_header.html >$(WWW_INSTALL)/rtems_header.html
29        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
30            <rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html
31
32info: env
33        ./do_docs $(BASEDIR) info
34
35html: env
36        cp common/*.gif common/*.jpg $(WWW_INSTALL)
37        ./do_docs $(BASEDIR) html
38
39ps: env
40        ./do_docs $(BASEDIR) ps
41
42clean:
43        ./do_docs $(BASEDIR) clean
44        cd tools/bmenu ; gmake clean
45        cd tools/pdl2texi ; gmake clean
46
47
48.PHONY: tools
49
50tools:
51        cd tools/bmenu ; gmake
52        cd tools/pdl2texi ; gmake
Note: See TracBrowser for help on using the repository browser.