source: rtems/doc/Makefile @ eff6983d

4.104.114.84.95
Last change on this file since eff6983d was eff6983d, checked in by Joel Sherrill <joel.sherrill@…>, on 03/30/98 at 14:58:53

Making the stanza right and improving the way the isntall directories are built

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