summaryrefslogtreecommitdiff
path: root/docs/src/opie-policy/Makefile
blob: 18cc6c6fc6d211b4fc98c7b60ba24d4945ea7d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DOC = opie-policy
DOCSDIR = $(OPIEDIR)/docs
HTMLDOCSDIR = $(DOCSDIR)/html
SRCDOCSDIR = $(DOCSDIR)/src
INDEX = $(HTMLDOCSDIR)/$(DOC)/index.html
FDL = $(SRCDOCSDIR)/$(DOC)/gfdl/fdl.sgml
XML = $(SRCDOCSDIR)/$(DOC)/$(DOC).xml
DOCBOOK_HTMLCNV = docbook2html

all: $(INDEX)

distclean: clean

clean:
	-rm -rf $(HTMLDOCSDIR)/$(DOC);

$(INDEX): $(FDL) $(HTMLDOCSDIR)/$(DOC) $(XML)
	$(DOCBOOK_HTMLCNV) $(XML) -o $(HTMLDOCSDIR)/$(DOC);

$(HTMLDOCSDIR)/$(DOC):
	-mkdir $(HTMLDOCSDIR)/$(DOC);