4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | include Make.config |
---|
6 | |
---|
7 | BASEDIR=$(shell pwd) |
---|
8 | |
---|
9 | all: 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 | |
---|
13 | env: tools dirs headers |
---|
14 | |
---|
15 | dirs: |
---|
16 | $(make-dirs) |
---|
17 | |
---|
18 | headers: |
---|
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 | cp BAD.html $(WWW_INSTALL) |
---|
29 | |
---|
30 | info: env |
---|
31 | ./do_docs $(BASEDIR) info |
---|
32 | |
---|
33 | html: env |
---|
34 | ./do_docs $(BASEDIR) html |
---|
35 | |
---|
36 | dvi: dirs env |
---|
37 | ./do_docs $(BASEDIR) dvi |
---|
38 | |
---|
39 | ps: dirs env |
---|
40 | ./do_docs $(BASEDIR) ps |
---|
41 | |
---|
42 | pdf: dirs env |
---|
43 | ./do_docs $(BASEDIR) pdf |
---|
44 | |
---|
45 | clean: |
---|
46 | ./do_docs $(BASEDIR) clean |
---|
47 | cd tools/bmenu ; gmake clean |
---|
48 | cd tools/pdl2texi ; gmake clean |
---|
49 | cd tools/src2html ; gmake clean |
---|
50 | |
---|
51 | |
---|
52 | .PHONY: tools |
---|
53 | |
---|
54 | tools: |
---|
55 | cd tools/bmenu ; gmake |
---|
56 | cd tools/pdl2texi ; gmake |
---|
57 | cd tools/src2html ; gmake |
---|
Note: See
TracBrowser
for help on using the repository browser.