Complete 'DESTDIR' convention.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 20 Nov 2012 23:47:04 +0200
changeset 539 281c746e1e6f
parent 538 f57d4fb7d7c5
child 540 0b7f0d2690c0
Complete 'DESTDIR' convention.
printarg/Makefile
--- a/printarg/Makefile	Tue Nov 20 00:03:37 2012 +0200
+++ b/printarg/Makefile	Tue Nov 20 23:47:04 2012 +0200
@@ -41,9 +41,9 @@
   endif
 endif
 
-bindir = $(prefix)/bin
-mandir = $(prefix)/share/man
-man1dir = $(mandir)/man1
+bindir = $(DISTDIR)$(prefix)/bin
+mandir = $(DISTDIR)$(prefix)/share/man
+man1dir = $(DISTDIR)$(mandir)/man1
 
 ################################################################
 # Platform definition.