]> git.madduck.net Git - code/myrepos.git/blobdiff - Makefile

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Deal with abs_path change in new version of perl, now it returns undefined when the...
[code/myrepos.git] / Makefile
index eda083bb884e08b7cafa2c60d60cc69300653870..3718e32a8cb5fbb0969d9aaad395f427ff8e680c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,13 @@
-PREFIX:=/usr/local
+PREFIX:=/usr
 
 
-build:
+mans=mr.1 webcheckout.1
+
+build: $(mans)
+
+mr.1: mr
        pod2man -c mr mr > mr.1
        pod2man -c mr mr > mr.1
+
+webcheckout.1: webcheckout
        pod2man -c webcheckout webcheckout > webcheckout.1
 
 test:
        pod2man -c webcheckout webcheckout > webcheckout.1
 
 test:
@@ -21,3 +27,6 @@ install: build
        install -m0644 webcheckout.1 ${DESTDIR}${PREFIX}/share/man/man1/
 
        install -m0644 lib/* ${DESTDIR}${PREFIX}/share/mr/
        install -m0644 webcheckout.1 ${DESTDIR}${PREFIX}/share/man/man1/
 
        install -m0644 lib/* ${DESTDIR}${PREFIX}/share/mr/
+
+clean:
+       rm -f $(mans)