ITS#8256 Create install directories if needed
authorLuke Yeager <lyeager@nvidia.com>
Sat, 19 Sep 2015 01:06:43 +0000 (18:06 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 25 Sep 2015 18:59:30 +0000 (19:59 +0100)
libraries/liblmdb/Makefile

index a8ea970..e812840 100644 (file)
@@ -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