summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgaryscavone <garyscavone@users.noreply.github.com>2016-02-16 20:39:50 -0500
committergaryscavone <garyscavone@users.noreply.github.com>2016-02-16 20:39:50 -0500
commit0b6207d3257a988b6665c36b6d4ee6d9846a4b52 (patch)
tree1169e2d15a82c5b6668755cb69da077b144de190 /doc
parentce98d4a31cf62bc01bdd7b12ec7a7044685ac06a (diff)
parentfbcd1910a3ea72ec6dc50d50c3f7848e6861abc4 (diff)
Merge pull request #49 from radarsat1/automake
Port the build system to automake
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am33
-rw-r--r--doc/doxygen/Doxyfile.in (renamed from doc/doxygen/Doxyfile)2
2 files changed, 34 insertions, 1 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)
diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile.in
index 46d07db..c065cb8 100644
--- a/doc/doxygen/Doxyfile
+++ b/doc/doxygen/Doxyfile.in
@@ -32,7 +32,7 @@ PROJECT_NAME = RtAudio
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 4.1.1
+PROJECT_NUMBER = @PACKAGE_VERSION@
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer