summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-14 19:42:52 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:02:44 -0700
commit053083431ff02dd365eb8c6fe12749b90d2a2a1f (patch)
treebc815fd8cdc9fc2c429fedcc19383fa51037f511 /Makefile
parent218f11bcf1ab339216337405a70e6cd0ec56a644 (diff)
[PATCH] fix broken 'make -j5' functionality.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9922d6f173..28823d7f2a 100644
--- a/Makefile
+++ b/Makefile
@@ -263,17 +263,16 @@ udev_version.h:
@echo \#define UDEVD_BIN \"$(DESTDIR)$(sbindir)/udevd\" >> $@
# Rules on how to create the generated config files
-$(LOCAL_CFG_DIR)/udev.conf:
+$(LOCAL_CFG_DIR)/udev.conf: $(HOST_PROGS)
$(QUIET) sed -e "s:@udevdir@:$(udevdir):" -e "s:@configdir@:$(configdir):" < $(LOCAL_CFG_DIR)/udev.conf.in > $@
GEN_MANPAGES = udev.8
GEN_MANPAGESIN = udev.8.in
# Rules on how to create the man pages
-$(GEN_MANPAGES): $(GEN_MANPAGESIN)
+$(GEN_MANPAGES): $(GEN_MANPAGESIN) $(HOST_PROGS)
$(QUIET) sed -e "s:@udevdir@:$(udevdir):" < $@.in > $@
-
-$(OBJS): $(GEN_HEADERS)
+$(OBJS): $(GEN_HEADERS) $(HOST_PROGS)
$(ROOT).o: $(GEN_HEADERS) $(HOST_PROGS)
$(TESTER).o: $(GEN_HEADERS) $(HOST_PROGS)
$(INFO).o: $(GEN_HEADERS) $(HOST_PROGS)