From 175ce638a06856a942b79f202f9cf88d489e53ef Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 13 Oct 2008 02:08:35 +0000 Subject: Add basic support for Doxygen, including a make target --- src/build-data/makefile/unix.in | 6 +++++- src/build-data/makefile/unix_shr.in | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'src/build-data/makefile') 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 -- cgit v1.2.3