From 2d681a1ed7cbb7d6a4d0194c8c8caee05fbaaa13 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 11 Oct 2009 18:24:17 +0000 Subject: 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 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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: -- cgit v1.2.3