From 1d15380a117265ff30aab121a4c3b877f1497420 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 4 Nov 2021 15:40:36 +0530 Subject: Makefile: Pass auxiliary dependencies from automatic variables. This is required to support VPATH builds. * Makefile.am (doc/capture-output-file.out, doc/capture-output-file-with-parameter-reference.out, doc/checksum.out, doc/decompress-compile-run.out, doc/pass-stdin.out): Pass auxiliary dependencies from automatic variables. --- Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index c7ff854..b303ad6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -106,25 +106,25 @@ CLEAN_DIRECTORIES = doc/cwl-output GENERATE_CWL_OUTPUT = ./build-aux/generate-cwl-output.sh doc/capture-output-file.out: doc/capture-output-file.cwl doc/hello.tar $(GENERATE_CWL_OUTPUT) - $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --archive doc/hello.tar + $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --archive $(word 2, $^) doc/capture-output-file-with-parameter-reference.out: doc/capture-output-file-with-parameter-reference.cwl doc/hello.tar $(GENERATE_CWL_OUTPUT) - $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --archive doc/hello.tar --extractfile hello.txt + $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --archive $(word 2, $^) --extractfile hello.txt doc/capture-stdout.out: doc/capture-stdout.cwl $(GENERATE_CWL_OUTPUT) $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --message '"Hello World!"' doc/checksum.out: doc/checksum.cwl doc/hello.txt $(GENERATE_CWL_OUTPUT) - $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --file doc/hello.txt + $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --file $(word 2, $^) doc/decompress-compile-run.out: doc/decompress-compile-run.cwl doc/hello.c.gz $(GENERATE_CWL_OUTPUT) - $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --compressed-source doc/hello.c.gz + $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --compressed-source $(word 2, $^) doc/hello-world.out: doc/hello-world.cwl $(GENERATE_CWL_OUTPUT) $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --message '"Hello World!"' doc/pass-stdin.out: doc/pass-stdin.cwl doc/hello.txt $(GENERATE_CWL_OUTPUT) - $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --file doc/hello.txt + $(CWLTOOL_GEN)$(GENERATE_CWL_OUTPUT) $< --file $(word 2, $^) doc/hello.tar.out: doc/hello.tar echo "$$ tar --list --file $(notdir $<)" > $@ -- cgit v1.2.3