aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bc2719b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,39 @@
+NAME=isocheck
+VERSION=0.1.0
+PERL_VENDORLIB=$(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
+
+ALL=
+PM=Isocheck.pm
+POD=${name}.pod
+
+all:
+
+clean:
+ rm -rf *~
+ rm -rf t/*~
+ rm -rf image_tests/*~
+ rm -fr image_tests/*/*~
+
+cleandist: clean
+ rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2
+
+install: $(ALL) man
+ install -d $(PREFIX)/usr/bin
+ install -m755 isocheck.pl $(PREFIX)/usr/bin/isocheck
+ install -d $(PREFIX)/$(PERL_VENDORLIB)/Isocheck
+ install Isocheck.pm $(PREFIX)/$(PERL_VENDORLIB)/Isocheck.pm
+ install image_tests $(PREFIX)/$(PERL_VENDORLIB)/Isocheck/image_tests
+
+tar: export
+ tar cjf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
+ rm -rf $(NAME)-$(VERSION)
+
+test:
+ prove t/
+
+man:
+
+export:
+ svn export -q -rBASE . $(NAME)-$(VERSION)
+
+dist: cleandist export tar \ No newline at end of file