]> git.hungrycats.org Git - linux/commitdiff
[PATCH] docbook: Move script target in top-level file [8/9]
authorSam Ravnborg <sam@ravnborg.org>
Thu, 25 Jul 2002 02:34:34 +0000 (19:34 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 25 Jul 2002 02:34:34 +0000 (19:34 -0700)
To support the new DocBook makefile the script target needs to be located
the block that is checked for precense of a .config file.

Makefile

index a0f270fc626b4fb62ed05cfb7dd0cb716250b916..c4241aac94730d7f03f02922d1293e149214bb85 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,15 @@ noconfig_targets := xconfig menuconfig config oldconfig randconfig \
                    help tags TAGS sgmldocs psdocs pdfdocs htmldocs \
                    checkconfig checkhelp checkincludes
 
+# Helpers built in scripts/
+# ---------------------------------------------------------------------------
+
+scripts/docproc scripts/fixdep scripts/split-include : scripts ;
+
+.PHONY: scripts
+scripts:
+       @$(MAKE) -C scripts
+
 ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 
 # Here goes the main Makefile
@@ -357,15 +366,6 @@ include/linux/version.h: Makefile
        ) > $@.tmp
        @$(update-if-changed)
 
-# Helpers built in scripts/
-# ---------------------------------------------------------------------------
-
-scripts/fixdep scripts/split-include : scripts ;
-
-.PHONY: scripts
-scripts:
-       @$(MAKE) -C scripts
-
 # Generate module versions
 # ---------------------------------------------------------------------------