From: Luke Yeager Date: Sat, 19 Sep 2015 01:06:43 +0000 (-0700) Subject: ITS#8256 Create install directories if needed X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62826b0965c4a2ee2e0d18c58210ae042424b7ce;p=openldap ITS#8256 Create install directories if needed --- diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile index a8ea9706fa..e812840852 100644 --- a/libraries/liblmdb/Makefile +++ b/libraries/liblmdb/Makefile @@ -36,6 +36,10 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5 all: $(ILIBS) $(PROGS) install: $(ILIBS) $(IPROGS) $(IHDRS) + mkdir -p $(DESTDIR)$(prefix)/bin + mkdir -p $(DESTDIR)$(prefix)/lib + mkdir -p $(DESTDIR)$(prefix)/include + mkdir -p $(DESTDIR)$(prefix)/man/man1 for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done