Permalink
Browse files

slightly more standard installation variables

  • Loading branch information...
1 parent 8522041 commit c97132eb1c26ca0b37ed6cce2e37c0ec4cf3d44f Barak A. Pearlmutter committed Sep 30, 2011
Showing with 6 additions and 6 deletions.
  1. +5 −5 Makefile
  2. +1 −1 README
View
@@ -1,8 +1,8 @@
-PREFIX=/usr/local
+prefix=/usr/local
DESTDIR=
BUILDDIR=build
-BINDIR=$(PREFIX)/bin
-LIBEXECDIR=$(PREFIX)/libexec
+BINDIR=$(prefix)/bin
+LIBEXECDIR=$(prefix)/lib
GITHGEXECDIR=$(LIBEXECDIR)/git-hg
FASTEXPORTDIR=$(GITHGEXECDIR)/fast-export
@@ -29,7 +29,7 @@ $(HGFE_F):
install:
$(INSTALL) -d $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 755 $(GITHG_F) $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(GITHG_F) $(DESTDIR)$(BINDIR)/
$(INSTALL) -d $(DESTDIR)$(FASTEXPORTDIR)
- $(INSTALL) -m 755 $(HGFE_F) $(DESTDIR)$(FASTEXPORTDIR)
+ $(INSTALL) -m 755 $(HGFE_F) $(DESTDIR)$(FASTEXPORTDIR)/
View
@@ -26,7 +26,7 @@ Alternatively you can execute
$ sudo make install
to install the script and all required fast-export files in /usr/local (you
-can change the destination by passing eg PREFIX=/usr to make install).
+can change the destination by, eg, make prefix=/usr install).
* Usage *

0 comments on commit c97132e

Please sign in to comment.