summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-06 15:06:10 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-06 15:06:10 +0100
commite6ae6b80ce34a86498e53d5f877bb5f0f2af9eac (patch)
treecf8fde1601617485e809396a5a085c4095d57d96
parentc27f8418ab28efbbf2ccf9384c59bc31d1497a56 (diff)
downloadmediapointer-dvb-s2-e6ae6b80ce34a86498e53d5f877bb5f0f2af9eac.tar.gz
mediapointer-dvb-s2-e6ae6b80ce34a86498e53d5f877bb5f0f2af9eac.tar.bz2
v4l-dvb: fix make v4l2-spec/dvb-spec
From: Hans Verkuil <hverkuil@xs4all.nl> 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 <hverkuil@xs4all.nl>
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
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)