Commit Diff


commit - 3c4700a2b22c87e5b9fa6b1ef09b931d9bd1d1ac
commit + 6c402b5967201469340cc2b7de0e07c2449eff7a
blob - 4a1ba9270937652c9e291f90d4df8afbb253bfbc
blob + 12318e09b698770dbc479faeb1ed883696695c64
--- Makefile
+++ Makefile
@@ -27,7 +27,7 @@ install: all
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
 	install -m 755 $(BIN) $(DESTDIR)$(PREFIX)/bin/
 	mkdir -p $(DESTDIR)$(MANPREFIX)/man1
-	sed s=/usr/local=$(PREFIX)=g gpass.1 >$(DESTDIR)$(MANPREFIX)/man1/gpass.1
+	sed s=PREFIX=$(PREFIX)=g < gpass.1 > $(DESTDIR)$(MANPREFIX)/man1/gpass.1
 	chmod 644 $(DESTDIR)$(MANPREFIX)/man1/gpass.1
 	mkdir -p $(DESTDIR)$(PREFIX)/share/gpass
 	install -m 644 eff.long $(DESTDIR)$(PREFIX)/share/gpass
blob - f145208b79ac1dc99634d6494ab438b907fbf37a
blob + 6f197901741cf623e175f395bf35e414ddc9c6a8
--- gpass.1
+++ gpass.1
@@ -36,7 +36,7 @@ is specified.
 .El
 .Sh FILES
 .Bl -tag -width Ds
-.It Pa /usr/local/share/gpass/eff.long
+.It Pa PREFIX/share/gpass/eff.long
 The default dictionary file.
 .Sh EXIT STATUS
 .Ex -std