summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-05 18:55:10 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-05 18:55:10 (GMT)
commit90c7280862be09c724d15de94dc1a0ca05d3e762 (patch)
treec33427805ff0d31e1005e3e5b24556e2693fa072 /Makefile
parentcc90cb7196440a88e2a7987203152910049e266d (diff)
downloaddtv-scan-tables-90c7280862be09c724d15de94dc1a0ca05d3e762.zip
dtv-scan-tables-90c7280862be09c724d15de94dc1a0ca05d3e762.tar.gz
dtv-scan-tables-90c7280862be09c724d15de94dc1a0ca05d3e762.tar.bz2
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 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d1c1e93..2fb4a88 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: