]> arthur.barton.de Git - ax-unix.git/commitdiff
Correctly use $PREFIX in mail-wrapper Makefile
authorAlexander Barton <alex@barton.de>
Tue, 7 Nov 2017 10:41:47 +0000 (11:41 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 7 Nov 2017 10:41:47 +0000 (11:41 +0100)
mail/wrapper/Makefile

index cadead7e4c67a293d9f6ca57c76bc6a7b9ce6036..0750b0a902c781ed1220c8dbddc30f692855f3c6 100644 (file)
@@ -17,6 +17,6 @@ check-local:
 
 install-local: mail-wrapper
        install -d -o $(USER) -g $(GROUP) -m 755 \
-        $(DESTDIR)/usr/local/bin
+        $(DESTDIR)$(PREFIX)/bin
        install -p -o $(USER) -g $(GROUP) -m 755 mail-wrapper \
-        $(DESTDIR)/usr/local/bin/mail-wrapper
+        $(DESTDIR)$(PREFIX)/bin/mail-wrapper