aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-13 02:08:35 +0000
committerlloyd <[email protected]>2008-10-13 02:08:35 +0000
commit175ce638a06856a942b79f202f9cf88d489e53ef (patch)
tree066d163f3dcaa559fac133cf16d9edf99a182e56 /src/build-data/makefile
parentc294fd5c4aaa44e3130410354262e38026c7c538 (diff)
Add basic support for Doxygen, including a make target
Diffstat (limited to 'src/build-data/makefile')
-rw-r--r--src/build-data/makefile/unix.in6
-rw-r--r--src/build-data/makefile/unix_shr.in6
2 files changed, 10 insertions, 2 deletions
diff --git a/src/build-data/makefile/unix.in b/src/build-data/makefile/unix.in
index cd4e2c46a..b83e59b01 100644
--- a/src/build-data/makefile/unix.in
+++ b/src/build-data/makefile/unix.in
@@ -89,12 +89,16 @@ $(STATIC_LIB): $(LIBOBJS)
##################################################
# Fake Targets #
##################################################
-.PHONY = clean distclean install static
+.PHONY = doxygen clean distclean install static
static: $(STATIC_LIB)
+doxygen:
+ doxygen @{var:doc-dir}/botan.doxy
+
clean:
$(RM_R) @{var:build-dir}/lib/* @{var:build-dir}/checks/*
+ $(RM_R) @{var:doc-dir}/doxygen @{var:doc-dir}/botan.doxy
$(RM) $(LIBRARIES) $(SYMLINK) $(CHECK)
distclean: clean
diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in
index d8d6fa63d..c6c4e48ab 100644
--- a/src/build-data/makefile/unix_shr.in
+++ b/src/build-data/makefile/unix_shr.in
@@ -100,14 +100,18 @@ $(SHARED_LIB): $(LIBOBJS)
##################################################
# Fake Targets #
##################################################
-.PHONY = clean distclean install static shared
+.PHONY = doxygen clean distclean install static shared
static: $(STATIC_LIB)
shared: $(SHARED_LIB)
+doxygen:
+ doxygen @{var:doc-dir}/botan.doxy
+
clean:
$(RM_R) @{var:build-dir}/lib/* @{var:build-dir}/checks/*
+ $(RM_R) @{var:doc-dir}/doxygen @{var:doc-dir}/botan.doxy
$(RM) $(LIBRARIES) $(SYMLINK) $(CHECK)
distclean: clean