]> arthur.barton.de Git - ax-linux.git/commitdiff
Makefiles: correctly respect "PREFIX" variable
authorAlexander Barton <alex@barton.de>
Thu, 15 May 2014 08:43:01 +0000 (10:43 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 15 May 2014 08:43:01 +0000 (10:43 +0200)
bup/save-user/Makefile
lvm/pvclear/Makefile

index cb6c748ff1e649051407c08aa5a8546d67b33db4..b079868ab0a42b68097dd5b099f3bed2b313df57 100644 (file)
@@ -14,6 +14,6 @@ include ../../Makefile.ax
 
 install-local: bup-save-user
        install -d -o $(USER) -g $(GROUP) -m 755 \
-        $(DESTDIR)/usr/local/bin
+        $(DESTDIR)$(PREFIX)/bin
        install -p -o $(USER) -g $(GROUP) -m 755 bup-save-user \
-        $(DESTDIR)/usr/local/bin/bup-save-user
+        $(DESTDIR)$(PREFIX)/bin/bup-save-user
index 8052c4c6aa942d1f13876e7fa080aed12fafbe6c..7bbbe569c1839238cfbc8a8319237fdcd2aeaf76 100644 (file)
@@ -1,6 +1,6 @@
 #
 # ax-linux: Alex' Linux Tools & Scripts
-# Copyright (c)2013 Alexander Barton (alex@barton.de)
+# Copyright (c)2013-2014 Alexander Barton (alex@barton.de)
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -14,6 +14,6 @@ include ../../Makefile.ax
 
 install-local: lvm-pvclear
        install -d -o $(USER) -g $(GROUP) -m 755 \
-        $(DESTDIR)/usr/local/sbin
+        $(DESTDIR)$(PREFIX)/sbin
        install -p -o $(USER) -g $(GROUP) -m 755 lvm-pvclear \
-        $(DESTDIR)/usr/local/sbin/lvm-pvclear
+        $(DESTDIR)$(PREFIX)/sbin/lvm-pvclear