Add a rough makefile for the documentation.
authorRalph Giles <giles@thaumas.net>
Tue, 18 Sep 2012 07:41:18 +0000 (00:41 -0700)
committerRalph Giles <giles@thaumas.net>
Tue, 18 Sep 2012 07:41:18 +0000 (00:41 -0700)
Just runs doxygen for us, an optionally latex.
The 'clean' target removes the doxygen output
directories.

doc/Makefile [new file with mode: 0644]

diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..fc4770b
--- /dev/null
@@ -0,0 +1,15 @@
+## GNU makefile for opusfile documentation.
+
+all: doxygen
+
+doxygen: Doxyfile ../include/opusfile.h
+       doxygen
+
+pdf: doxygen
+       make -C latex
+
+clean:
+       $(RM) -r html
+       $(RM) -r latex
+
+.PHONY: all clean doxygen