summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..953517a
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,22 @@
+include ../Makefile.config
+
+DOXYDIR=../bin
+DOXYGEN_DOCDIR=..
+
+all: FORCE
+ DOXYGEN_DOCDIR=$(DOXYGEN_DOCDIR); \
+ export DOXYGEN_DOCDIR; \
+ VERSION=$(VERSION) ; \
+ export VERSION; \
+ $(DOXYDIR)/doxygen
+ @rm -f ../latex/refman.tex
+ @cp doxygen_logo*.gif ../html
+ @cp Makefile.latex ../latex/Makefile
+ @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex
+ @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty
+ @cp doxygen_logo.eps ../latex
+
+clean:
+ rm -rf ../html ../latex
+
+FORCE: