Added the DESTDIR variable.
authorFrancois Fleuret <francois@fleuret.org>
Tue, 27 Dec 2011 11:06:56 +0000 (12:06 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Tue, 27 Dec 2011 11:06:56 +0000 (12:06 +0100)
Makefile

index 3325911..7d25f0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@
 #  along with dus.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-BINARY_PATH = /usr/bin
-MAN_PATH = /usr/share/man/man1
+BINARY_PATH = $(DESTDIR)/usr/bin
+MAN_PATH = $(DESTDIR)/usr/share/man/man1
 
 LDFLAGS=