aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-12 09:30:11 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-12 09:32:17 -0300
commitae12a359f6de47b79ecb90ae57db7970dc5fe041 (patch)
tree0179eba934a72010670bc9e41fe2bb7a8b536cb6
parent3ccfafaa520247eeb72d7eeae047324de2fe7c32 (diff)
downloaddtv-scan-tables-ae12a359f6de47b79ecb90ae57db7970dc5fe041.tar.gz
Makefile: fix dvbv3/dvbv5 output
Changeset 3ccfafaa5202 ("Improve Makefile to avoid "Argument list too long" error") fixed one issue, but broke dvbv3 output. It seems that dvbv5 output was broke since... forever. So, fix it too. Fixes: 3ccfafaa5202 ("Improve Makefile to avoid "Argument list too long" error") Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7cdb5bc4..d029f003 100644
--- a/Makefile
+++ b/Makefile
@@ -44,13 +44,14 @@ ifeq ($(DVBV3DIR),)
DVBV3DIR = dvbv3
endif
-$(DVBV3OUTPUTFILES): $(DVBV3OUTPUTDIR)/%: %
+
+dvbv3/%: %
@$(MKDIR) "$(dir $@)"
@$(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV3) "$<" "$@"
-$(DVBV5OUTPUTFILES): $(DVBV5OUTPUTDIR)/%: $(DVBV3OUTPUTDIR)/%
+dvbv5/%: %
@$(MKDIR) "$(dir $@)"
- @$(DVBFORMATCONVERT) $(DVBFORMATCONVERT_CHANNEL_DVBV5) "$<" "$@"
+ @cp "$<" "$@"
dvbv3: $(DVBV3OUTPUTFILES)
dvbv5: $(DVBV5OUTPUTFILES)