aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-02-17 17:56:58 +0000
committerRomain d'Alverny <rda@mageia.org>2012-02-17 17:56:58 +0000
commit948c8aee6d39393232da08e97d66a50de4355092 (patch)
tree850b50d53c6975ab69a8933668c7601116461b86
parente4886dfb70ae35779fc47e8f0a74941550c414f7 (diff)
downloadisocheck-948c8aee6d39393232da08e97d66a50de4355092.tar
isocheck-948c8aee6d39393232da08e97d66a50de4355092.tar.gz
isocheck-948c8aee6d39393232da08e97d66a50de4355092.tar.bz2
isocheck-948c8aee6d39393232da08e97d66a50de4355092.tar.xz
isocheck-948c8aee6d39393232da08e97d66a50de4355092.zip
in progress 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