aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-05 15:55:10 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-05 15:55:10 -0300
commit90c7280862be09c724d15de94dc1a0ca05d3e762 (patch)
treec33427805ff0d31e1005e3e5b24556e2693fa072 /Makefile
parentcc90cb7196440a88e2a7987203152910049e266d (diff)
downloaddtv-scan-tables-90c7280862be09c724d15de94dc1a0ca05d3e762.tar.gz
Fix the Makefile to do the right thing after the conversion
Now that the tables got converted, rewrite it to generate DVBv3 from the DVBv5 channels, and to generate DVBv5 again from DVBv3, for testing purposes. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to '')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d1c1e938..2fb4a889 100644
--- a/Makefile
+++ b/Makefile
@@ -23,13 +23,16 @@ DVBFORMATCONVERT_CHANNEL_DVBV3 = -IDVBV5 -OCHANNEL
DVBV3OUTPUTDIR = dvbv3
DVBV5OUTPUTDIR = dvbv5
-makedvbv5:
- @$(foreach var,$(DVBV3DIRS), $(MKDIR) $(DVBV5OUTPUTDIR)/$(var);)
- @$(foreach var,$(DVBV3CHANNELFILES), $(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV5) $(var) $(DVBV5OUTPUTDIR)/$(var);)
+PHONY := clean dvbv3 dvbv5
-makedvbv3:
+dvbv3:
@$(foreach var,$(DVBV3DIRS), $(MKDIR) $(DVBV3OUTPUTDIR)/$(var);)
- @$(foreach var,$(DVBV3CHANNELFILES), $(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV3) $(DVBV5OUTPUTDIR)/$(var) $(DVBV3OUTPUTDIR)/$(var);)
+ @$(foreach var,$(DVBV3CHANNELFILES), $(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV3) $(var) $(DVBV3OUTPUTDIR)/$(var);)
+
+
+dvbv5: $(DVBV3OUTPUTDIR)
+ @$(foreach var,$(DVBV3DIRS), $(MKDIR) $(DVBV5OUTPUTDIR)/$(var);)
+ @$(foreach var,$(DVBV3CHANNELFILES), $(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV5) $(DVBV3OUTPUTDIR)/$(var) $(DVBV5OUTPUTDIR)/$(var);)
clean: