summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStephen Sinclair <radarsat1@gmail.com>2016-02-12 11:05:34 -0300
committerStephen Sinclair <radarsat1@gmail.com>2016-02-12 12:13:20 -0300
commitfbcd1910a3ea72ec6dc50d50c3f7848e6861abc4 (patch)
tree1ecdfec46e197fe1f44944842a70653960241290 /doc
parent0f60381cb4ed79bb40979c106ee1515df85c4873 (diff)
Port the build system to automake.
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)