ALL: Fix m4 debug output for workers

This commit is contained in:
Le Philousophe committed 2020-03-28 18:13:43 +00:00
1 parent b15822af33
commit c7839fd7bd
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ $(WORKERS_DOC_TS): $(BUILDDIR)/%: %/Dockerfile
$(WORKERS_M4_TS): $(BUILDDIR)/%: %/Dockerfile.m4 $(shell find workers/m4 -type f)
@echo "Building $*"
ifeq ($(VERBOSE),1)
m4 -P -EE -I workers/m4 workers/m4/library.m4 $< -o $(<D)/Dockerfile.debug
m4 -P -EE -I workers/m4 workers/m4/library.m4 $< > $(<D)/Dockerfile.debug
endif
m4 -P -EE -I workers/m4 workers/m4/library.m4 $< | \
docker build --build-arg BUILDBOT_VERSION=$(BUILDBOT_VERSION) -t $* -f - $(<D)