From: Howard Chu Date: Mon, 25 Feb 2013 06:50:51 +0000 (+0000) Subject: Add $(DESTDIR) to make install target X-Git-Tag: OPENLDAP_REL_ENG_2_4_35~26^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66c9f030558320290d1a8d3961a31670a15c56f2;p=openldap Add $(DESTDIR) to make install target --- diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile index c33d4d4d24..bd72ee4dda 100644 --- a/libraries/liblmdb/Makefile +++ b/libraries/liblmdb/Makefile @@ -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