]> git.sur5r.net Git - openldap/commitdiff
Add $(DESTDIR) to make install target
authorHoward Chu <hyc@openldap.org>
Mon, 25 Feb 2013 06:50:51 +0000 (06:50 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 25 Feb 2013 06:50:51 +0000 (06:50 +0000)
libraries/liblmdb/Makefile

index c33d4d4d249730773992b75f0a43629f8f639eae..bd72ee4dda63fc5602f381e237f9ee2bb1608c18 100644 (file)
@@ -13,9 +13,9 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
 all:   $(ILIBS) $(PROGS)
 
 install: $(ILIBS) $(IPROGS) $(IHDRS)
-       cp $(IPROGS) $(prefix)/bin
-       cp $(ILIBS) $(prefix)/lib
-       cp $(IHDRS) $(prefix)/include
+       cp $(IPROGS) $(DESTDIR)$(prefix)/bin
+       cp $(ILIBS) $(DESTDIR)$(prefix)/lib
+       cp $(IHDRS) $(DESTDIR)$(prefix)/include
 
 clean:
        rm -rf $(PROGS) *.[ao] *.so *~ testdb