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

index 9516516..7af163a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@
 #  along with finddup.  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
 
 ifeq ($(WITH_MD5),yes)
   LDFLAGS=-lssl