]> arthur.barton.de Git - ax-linux.git/blobdiff - lvm/pvclear/Makefile
Makefiles: correctly respect "PREFIX" variable
[ax-linux.git] / lvm / pvclear / Makefile
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