summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-10-11 18:24:17 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-10-11 18:24:17 +0000
commit2d681a1ed7cbb7d6a4d0194c8c8caee05fbaaa13 (patch)
tree63c9b67371ea659b13f52151763e55dfea9d2cab /Makefile
parentc65417597bb444057b19e43fcbbc79087b33abce (diff)
Add kernel-doc generation to the 'docs' target
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 24b2944..8565436 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ ROOT_PREFIX:=
ASCIIDOC:=asciidoc
ASCIIDOC_CMD:=$(ASCIIDOC) -n -a toc -a toclevels=4
-GENERATED_DOCS:=README.html
+GENERATED_DOCS:=README.html dahdi-api.html
ifneq ($(wildcard .version),)
DAHDIVERSION:=$(shell cat .version)
@@ -240,6 +240,9 @@ docs: $(GENERATED_DOCS)
README.html: README
$(ASCIIDOC_CMD) -o $@ $<
+dahdi-api.html: drivers/dahdi/dahdi-base.c
+ build_tools/kernel-doc --kernel $(KSRC) $^ >$@
+
.PHONY: distclean dist-clean clean all install devices modules stackcheck install-udev update install-modules install-include uninstall-modules firmware-download install-xpp-firm firmware-loaders
FORCE: