summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-08-16 06:58:40 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-08-16 06:58:40 -0500
commit75db34bc1ca7e549deb52283147a11de9c1b5d9f (patch)
tree36fd9c3e887401ec6d8fbbf69387ed6872032d00 /scripts/Makefile
parent61c0628d56f43e5dd00105d2ba94c3bc014345f3 (diff)
kbuild: Cleanup the chmod rule in scripts/
This rule makes sure that some scripts really have the executable bit set. Since it doesn't create the sripts, they shouldn't be targets, but rather prerequisites (of a phony rule)
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 1efc9dc8ba49..0416b0f86137 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -2,15 +2,17 @@
# always needed
# ---------------------------------------------------------------------------
+all: fixdep split-include docproc __chmod
+
# The following temporary rule will make sure that people's
# trees get updated to the right permissions, since patch(1)
# can't do it
-CHMOD_FILES := kernel-doc mkcompile_h makelst
+# ---------------------------------------------------------------------------
-all: fixdep split-include docproc $(CHMOD_FILES)
+.PHONY: __chmod
-$(CHMOD_FILES): FORCE
- @chmod a+x $@
+__chmod: kernel-doc mkcompile_h makelst
+ @chmod a+x $^
# xconfig
# ---------------------------------------------------------------------------