From ae12a359f6de47b79ecb90ae57db7970dc5fe041 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 12 Aug 2019 09:30:11 -0300 Subject: 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 --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7cdb5bc..d029f00 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) -- cgit v0.12