source: rtems/doc/Makefile @ ecbba5fc

4.104.114.84.95
Last change on this file since ecbba5fc was ff460e58, checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/98 at 21:24:26

Changed commands for installing numerous files to include $(SRCDIR).

  • 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        $(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
34ps: dirs env
35        ./do_docs $(BASEDIR) ps
36
37clean:
38        ./do_docs $(BASEDIR) clean
39        cd tools/bmenu ; gmake clean
40        cd tools/pdl2texi ; gmake clean
41        cd tools/src2html ; gmake clean
42
43
44.PHONY: tools
45
46tools:
47        cd tools/bmenu ; gmake
48        cd tools/pdl2texi ; gmake
49        cd tools/src2html ; gmake
Note: See TracBrowser for help on using the repository browser.