From e6ae6b80ce34a86498e53d5f877bb5f0f2af9eac Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 6 Mar 2009 15:06:10 +0100 Subject: v4l-dvb: fix make v4l2-spec/dvb-spec From: Hans Verkuil Since the v4l2-spec and dvb-spec directories exist, make v4l2-spec will do nothing. Adding a simple .PHONY rule doesn't help either, since .PHONY doesn't work with wildcard rules. So we have to add a specific rule for these two targets to the top-level Makefile. I thought of changing the target names, but v4l2-spec and dvb-spec are just too obvious a choice to change. Priority: normal Signed-off-by: Hans Verkuil --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index a1e609f0e..1cdd3abed 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,14 @@ all: install: $(MAKE) -C $(BUILD_DIR) install +# Hmm, .PHONY does not work with wildcard rules :-( +SPECS = v4l2-spec dvb-spec + +.PHONY: $(SPECS) + +$(SPECS): + $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS) + %:: $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS) -- cgit v1.2.3