aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index af437a64d..4114e3f10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,12 @@
SUBDIRS = src
+EXTRA_DIST = Doxyfile.in
+CLEANFILES = apidoc Doxyfile
+
+Doxyfile : Doxyfile.in
+ sed \
+ -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
+ -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
+ $< > $@
+
+apidoc : Doxyfile
+ doxygen