From: Don Armstrong <don@donarmstrong.com>
Date: Wed, 19 Mar 2014 21:23:28 +0000 (-0700)
Subject: define PERL and use wildcard
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1e32afc1bdd05ba7aaabe75be040824bfc339f2e;p=bugscan.git

define PERL and use wildcard
---

diff --git a/t/test_spool/versions/indices/Makefile b/t/test_spool/versions/indices/Makefile
index 9a5a760..ade2750 100644
--- a/t/test_spool/versions/indices/Makefile
+++ b/t/test_spool/versions/indices/Makefile
@@ -2,8 +2,10 @@
 
 VERSION_INDICES=versions.idx versions_time.idx binsrc.idx srcbin.idx
 
+PERL?=perl
+
 all: $(VERSION_INDICES)
 
-$(VERSION_INDICES): %.idx: %.idx_stubs make_index_from_stubs.pl %.idx_stubs/*.stub
+$(VERSION_INDICES): %.idx: %.idx_stubs make_index_from_stubs.pl $(wildcard %.idx_stubs/*.stub)
 	$(PERL) $(wordlist 2,2,$^) $@ $(wordlist 3,$(words $^),$^)