summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..9aa8795
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,33 @@
+
+MAINTAINERCLEANFILES=Makefile.in
+
+CLEANFILES=doxygen-build.stamp
+
+DOX=Doxyfile
+
+EXTRA_DIST=html
+
+INSTIMAGES=html/doxygen.png
+
+DOC_STAMPS=doxygen-build.stamp
+
+DOC_DIR=$(HTML_DIR)
+
+all-local: doxygen-build.stamp
+
+doxygen-build.stamp: doxygen/$(DOX) $(top_srcdir)/RtAudio.h
+ @echo '*** Running doxygen ***'
+ cd doxygen; $(DOXYGEN) $(DOX)
+ touch doxygen-build.stamp
+
+clean-local:
+ rm -f *~ *.bak $(DOC_STAMPS) || true
+ if test -d html; then rm -fr html; fi
+ if test -d latex; then rm -fr latex; fi
+ if test -d man; then rm -fr man; fi
+
+distclean-local: clean
+ rm -f *.stamp || true
+ if test -d html; then rm -rf html; fi
+
+html-local: $(DOC_STAMPS)