summaryrefslogtreecommitdiff
blob: cb24dbda1bda1cbe62821efda5e43b45f886f319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
commit 79a7de171f461a1c79089fa770f0da186e87c723
Author: Peter Szabo <pts@fazekas.hu>
Date:   Sun Apr 30 04:00:23 2017 +0200

    fixed Perl 5.26 compatibility for perl -x (https://github.com/pts/sam2p/issues/2)

diff --git a/Makefile b/Makefile
index 849b09d..1791a9c 100644
--- a/Makefile
+++ b/Makefile
@@ -71,10 +71,10 @@ sam2p_version.h: debian/changelog
 sam2p_main.o: sam2p_version.h
 
 xpmc.h: cols2.pl
-	perl -x cols2.pl >xpmc.h
+	perl -x ./cols2.pl >xpmc.h
 
 #HQ=perl -e'$$_=join"",<STDIN>; s@([^\w\.\/\-])@sprintf"\\%03o",ord$$1@ge; print "\"$$_\"\n"'
-HQ=perl -x hq.pl
+HQ=perl -x ./hq.pl
 #%.tth: %.tte
 #	<$< >$@	$(HQ)
 #%.tth: %.ttm