summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-05 10:52:50 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:10:04 -0500
commit8fac9c7b7de617c52738818663adbbeb2021f132 (patch)
tree18be88b8f1be3c448143444dc4db241ee39d4428 /Makefile
parent2c92b1d6738c35236afaa3544d196a0d5ececa87 (diff)
downloadu-boot-imx-8fac9c7b7de617c52738818663adbbeb2021f132.zip
u-boot-imx-8fac9c7b7de617c52738818663adbbeb2021f132.tar.gz
u-boot-imx-8fac9c7b7de617c52738818663adbbeb2021f132.tar.bz2
kernel-doc: move kernel-doc tools to scripts/
tools/kernel-doc/docproc.c and tools/kernel-doc/kernel-doc are files imported from Linux Kernel. They originally resided under scripts/ directory in Linux Kernel. This commit moves them to the original location. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a3979ec..75fd7f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1149,9 +1149,6 @@ $(TIMESTAMP_FILE):
env: depend scripts_basic
$(Q)$(MAKE) $(build)=tools/$@
-xmldocs pdfdocs psdocs htmldocs mandocs: tools/kernel-doc/docproc
- $(Q)$(MAKE) U_BOOT_VERSION=$(U_BOOT_VERSION) $(build)=doc/DocBook $@
-
tools-all: HOST_TOOLS_ALL=y
tools-all: env tools ;
@@ -1259,6 +1256,13 @@ backup:
F=`basename $(TOPDIR)` ; cd .. ; \
gtar --force-local -zcvf `LC_ALL=C date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
+
+# Documentation targets
+# ---------------------------------------------------------------------------
+%docs: scripts_basic FORCE
+ $(Q)$(MAKE) $(build)=scripts build_docproc
+ $(Q)$(MAKE) $(build)=doc/DocBook $@
+
# Dummies...
PHONY += prepare scripts
prepare: ;