From 797544738f02782acfb82cf9a99810512742ec6f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 1 Jul 2009 17:22:25 +0200 Subject: Added a Makefile --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1fe0be9 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +prefix = /usr/local +perl_version = 5.10.0 +perl_lib = lib/perl + +build/Simplestore.3pm: lib/Simplestore.pm + mkdir -p build + pod2man $< > $@ + +install: build/Simplestore.3pm + mkdir -p $(prefix)/$(perl_lib)/$(perl_version) $(prefix)/share/man/man3 + cp lib/Simplestore.pm $(prefix)/$(perl_lib)/$(perl_version) + cp build/Simplestore.3pm $(prefix)/share/man/man3 + +uninstall: + rm -f $(prefix)/$(perl_lib)/$(perl_version)/Simplestore.pm + rm -f $(prefix)/share/man/man1/Simplestore.3pm + +clean: + rm -rf build + +.PHONY: install uninstall clean -- cgit v1.2.3