aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Hermann2011-11-11 21:27:29 +0100
committerUwe Hermann2011-11-11 21:27:29 +0100
commit6c278b19b4bd7ab169e03f183d98232ba4ae3341 (patch)
tree2f5305b4d9aacf7847eb0c47747f4adab56aedb0 /Makefile
parent23a6f154cd6594ce94dfbf1e30affacc0150cc39 (diff)
Makefile: Add 'doxy' target for doxygen docs.
A top-level 'make clean' will remove the whole doxygen/ output directory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1c70f7f..4e41096 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,9 @@ install: lib
@printf " INSTALL scripts\n"
$(Q)$(INSTALL) -m 0644 scripts/* $(SHAREDIR)
+doxy:
+ doxygen Doxyfile
+
clean:
$(Q)for i in $(addprefix lib/,$(TARGETS)) \
$(addsuffix /*/*,$(addprefix examples/,$(TARGETS))); do \
@@ -75,6 +78,8 @@ clean:
$(MAKE) -C $$i clean || exit $?; \
fi; \
done
+ @printf " CLEAN doxygen\n"
+ $(Q)rm -rf doxygen
-.PHONY: build lib examples install clean
+.PHONY: build lib examples install doxy clean