From 948c8aee6d39393232da08e97d66a50de4355092 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Fri, 17 Feb 2012 17:56:58 +0000 Subject: in progress Makefile --- Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Makefile 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 -- cgit v1.2.1