source:
rtems/doc/Makefile
@
bc0307e
Last change on this file since bc0307e was bc0307e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/26/98 at 20:33:27 | |
---|---|
|
|
File size: 948 bytes |
Rev | Line | |
---|---|---|
[dfce9272] | 1 | # |
2 | # $Id$ | |
3 | # | |
[ae68ff0] | 4 | |
5 | include Make.config | |
6 | ||
7 | BASEDIR=$(shell pwd) | |
8 | ||
[bc0307e] | 9 | all: env info html ps |
[ae68ff0] | 10 | # find $(WWW_INSTALL) -type f | xargs -e chmod 444 |
11 | # find $(WWW_INSTALL) -type d | xargs -e chmod 555 | |
12 | ||
[bc0307e] | 13 | env: tools dirs headers |
14 | ||
[04e5f1c] | 15 | dirs: |
[60593076] | 16 | -mkdir $(DOC_INSTALL_BASE) |
[04e5f1c] | 17 | -mkdir $(WWW_INSTALL) |
[60593076] | 18 | -mkdir $(INFO_INSTALL) |
19 | -mkdir $(PS_INSTALL) | |
[04e5f1c] | 20 | |
[bc0307e] | 21 | headers: |
22 | sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \ | |
23 | <index.html >$(WWW_INSTALL)/index.html | |
24 | sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \ | |
25 | <rtems_header.html >$(WWW_INSTALL)/rtems_header.html | |
26 | sed -e 's/RTEMS_VERSION/$(RTEMS_VERSION)/' \ | |
27 | <rtems_footer.html >$(WWW_INSTALL)/rtems_footer.html | |
28 | ||
29 | info: env | |
[ae68ff0] | 30 | ./do_docs $(BASEDIR) info |
31 | ||
[bc0307e] | 32 | html: env |
[ae68ff0] | 33 | cp common/*.gif common/*.jpg $(WWW_INSTALL) |
34 | ./do_docs $(BASEDIR) html | |
35 | ||
[bc0307e] | 36 | ps: env |
[ae68ff0] | 37 | ./do_docs $(BASEDIR) ps |
38 | ||
39 | clean: | |
40 | ./do_docs $(BASEDIR) clean | |
[bc0307e] | 41 | cd tools/bmenu ; gmake clean |
42 | cd tools/pdl2texi ; gmake clean | |
43 | ||
[ae68ff0] | 44 | |
[bc0307e] | 45 | .PHONY: tools |
[ae68ff0] | 46 | |
[bc0307e] | 47 | tools: |
48 | cd tools/bmenu ; gmake | |
49 | cd tools/pdl2texi ; gmake |
Note: See TracBrowser
for help on using the repository browser.