source: rtems/doc/Makefile @ f2cd6a1a

4.104.114.84.95
Last change on this file since f2cd6a1a was c6700cd, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/98 at 17:04:40

Cleaned up installation of pictures and common html files.

  • Property mode set to 100644
File size: 825 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        $(make-dirs)
17
18headers:
19        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
20            <index.html >$(WWW_INSTALL)/index.html
21        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
22            <rtems_header.html >$(WWW_INSTALL)/rtems_header.html
23        sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \
24            <rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html
25
26info: env
27        ./do_docs $(BASEDIR) info
28
29html: env
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.