aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1e12dd9..30858fd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
NAME=iurt
PACKAGE=$(NAME)
-VERSION=$(shell egrep -a 'my \$$version = .*' iurt|sed -e "s/';//" -e "s/.*'//")
+VERSION=$(shell sed -n -e "s/my \$$version = '\(.*\)'.*/\1/p" iurt)
VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB)
@@ -30,4 +30,7 @@ TESTS = $(wildcard t/*.t)
.PHONY: $(TESTS)
$(TESTS):
perl -Ilib $@
+ perl -Ilib -c ulri
+ perl -Ilib -c iurt
+ perl -Ilib -c emi
check: $(TESTS)