summaryrefslogtreecommitdiff
path: root/docs/src/opie-policy/Makefile
Side-by-side diff
Diffstat (limited to 'docs/src/opie-policy/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--docs/src/opie-policy/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/src/opie-policy/Makefile b/docs/src/opie-policy/Makefile
new file mode 100644
index 0000000..18cc6c6
--- a/dev/null
+++ b/docs/src/opie-policy/Makefile
@@ -0,0 +1,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);