summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 14b8c2927d826aaf46dec68062e3fabfaa73614e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
#  $Id$
#

include Make.config

BASEDIR=$(shell pwd)

all: info html ps
#	find $(WWW_INSTALL) -type f | xargs -e chmod 444
#	find $(WWW_INSTALL) -type d | xargs -e chmod 555

dirs:
	-mkdir $(DOC_INSTALL_BASE)
	-mkdir $(WWW_INSTALL)
	-mkdir $(INFO_INSTALL)
	-mkdir $(PS_INSTALL)

info: dirs
	./do_docs $(BASEDIR) info

html: dirs
	cp common/*.gif common/*.jpg $(WWW_INSTALL)
	cp rtems.html HELP.html $(WWW_INSTALL)
	./do_docs $(BASEDIR) html

ps: dirs
	./do_docs $(BASEDIR) ps

clean:
	./do_docs $(BASEDIR) clean