source: rtems/doc/Makefile @ fb02e4c4

4.104.114.84.95
Last change on this file since fb02e4c4 was 1e28cc90, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 19:56:31

Install all of the gif's in the common directory.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  $Id$
3#
4
5include Make.config
6
7BASEDIR=$(shell pwd)
8
9all: env info html ps pdf
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        cp common/*.gif $(WWW_INSTALL)
28
29info: env
30        ./do_docs $(BASEDIR) info
31
32html: env
33        ./do_docs $(BASEDIR) html
34
35dvi: dirs env
36        ./do_docs $(BASEDIR) dvi
37
38ps: dirs env
39        ./do_docs $(BASEDIR) ps
40
41pdf: dirs env
42        ./do_docs $(BASEDIR) pdf
43
44clean:
45        ./do_docs $(BASEDIR) clean
46        cd tools/bmenu ; gmake clean
47        cd tools/pdl2texi ; gmake clean
48        cd tools/src2html ; gmake clean
49
50
51.PHONY: tools
52
53tools:
54        cd tools/bmenu ; gmake
55        cd tools/pdl2texi ; gmake
56        cd tools/src2html ; gmake
Note: See TracBrowser for help on using the repository browser.