From: Don Armstrong Date: Wed, 19 Mar 2014 21:44:09 +0000 (-0700) Subject: use secondexpansion to properly expand the idx stubs X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=2e6bbc312aa7b1d85dd4e8c5fb3b5e3895a30748 use secondexpansion to properly expand the idx stubs --- diff --git a/t/test_spool/versions/indices/Makefile b/t/test_spool/versions/indices/Makefile index ade2750..0a4c435 100644 --- a/t/test_spool/versions/indices/Makefile +++ b/t/test_spool/versions/indices/Makefile @@ -6,6 +6,9 @@ PERL?=perl all: $(VERSION_INDICES) -$(VERSION_INDICES): %.idx: %.idx_stubs make_index_from_stubs.pl $(wildcard %.idx_stubs/*.stub) +$(VERSION_INDICES): %.idx: %.idx_stubs $(PERL) $(wordlist 2,2,$^) $@ $(wordlist 3,$(words $^),$^) +.SECONDEXPANSION: +$(VERSION_INDICES): %.idx: %.idx_stubs make_index_from_stubs.pl $$(wildcard $$*.idx_stubs/*.stub) +