Makefile
changeset 171 7b69d1d86254
parent 169 6b34a5421330
child 173 ac7bd25849bd
--- a/Makefile	Mon Nov 09 15:52:58 2009 +0000
+++ b/Makefile	Mon Nov 09 16:05:49 2009 +0000
@@ -1,9 +1,10 @@
 #!/usr/bin/env make -f
 
-PREFIX=/usr/local/share
+TOPDIR=
+PREFIX=$(TOPDIR)/usr/local/share
 LIBDIR=$(PREFIX)/mercurial-server
 DOCDIR=$(PREFIX)/doc/mercurial-server
-ETCDIR=/etc/mercurial-server
+ETCDIR=$(TOPDIR)/etc/mercurial-server
 NEWUSER=hg
 
 INSTALL=install