diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-10-11 18:24:17 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-10-11 18:24:17 +0000 |
commit | 564e6bab2f02fe130033f3875c0933cdae18bc2a (patch) | |
tree | 63c9b67371ea659b13f52151763e55dfea9d2cab /Makefile | |
parent | b3795ac5490f171e1b37273e2bd840c8028f2ddb (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-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: |