From 4ccd7f1da395090a357354829d1744a098fd30ab Mon Sep 17 00:00:00 2001 From: idgay Date: Mon, 4 Jun 2007 20:57:44 +0000 Subject: [PATCH] appdoc target for per-app documentation --- support/make/appdoc.extra | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 support/make/appdoc.extra diff --git a/support/make/appdoc.extra b/support/make/appdoc.extra new file mode 100644 index 00000000..7d29e818 --- /dev/null +++ b/support/make/appdoc.extra @@ -0,0 +1,17 @@ +#-*-Makefile-*- vim:syntax=make +#$Id$ + +# configure the base for the app dirs. This is used to generate more +# useful package names in the documentation. +ifeq ($(BASEDIR)_x, _x) +BASEDIR := $(shell pwd | sed 's@\(.*\)/apps.*$$@\1@' ) +endif + +BUILD_DEPS = appdoc_ + +appdoc_: FORCE + @echo " Making application documentation for $(COMPONENT) on $(PLATFORM)" + # first generate the xml files + nesdoc -o build $(NESDOC_FLAGS) $(PFLAGS) $(CFLAGS) $(COMPONENT).nc -app + # generate html from the xml files + nesdoc -o build -html -target=$(PLATFORM) -- 2.39.2