source: rtems/doc/Makefile @ bc0307e

4.104.114.84.95
Last change on this file since bc0307e was bc0307e, checked in by Joel Sherrill <joel.sherrill@…>, on 03/26/98 at 20:33:27

Added build of tools to build procedure.

Automatically insert version information into headers and footers..

  • Property mode set to 100644
File size: 948 bytes
RevLine 
[dfce9272]1#
2#  $Id$
3#
[ae68ff0]4
5include Make.config
6
7BASEDIR=$(shell pwd)
8
[bc0307e]9all: 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]13env: tools dirs headers
14
[04e5f1c]15dirs:
[60593076]16        -mkdir $(DOC_INSTALL_BASE)
[04e5f1c]17        -mkdir $(WWW_INSTALL)
[60593076]18        -mkdir $(INFO_INSTALL)
19        -mkdir $(PS_INSTALL)
[04e5f1c]20
[bc0307e]21headers:
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
29info: env
[ae68ff0]30        ./do_docs $(BASEDIR) info
31
[bc0307e]32html: env
[ae68ff0]33        cp common/*.gif common/*.jpg $(WWW_INSTALL)
34        ./do_docs $(BASEDIR) html
35
[bc0307e]36ps: env
[ae68ff0]37        ./do_docs $(BASEDIR) ps
38
39clean:
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]47tools:
48        cd tools/bmenu ; gmake
49        cd tools/pdl2texi ; gmake
Note: See TracBrowser for help on using the repository browser.