summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 024016ab81eff2c616b80d8da4f87a68f657b97a (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 $(WWW_INSTALL)
	-mkdir $(WWW_INSTALL)/info
	-mkdir $(WWW_INSTALL)/html
	-mkdir $(WWW_INSTALL)/ps

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