Skip to content

Commit ddb7478

Browse files
lukeyeagerhyc
authored andcommitted
ITS#8256 Create install directories if needed
1 parent faeaa3a commit ddb7478

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/liblmdb/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
3636
all: $(ILIBS) $(PROGS)
3737

3838
install: $(ILIBS) $(IPROGS) $(IHDRS)
39+
mkdir -p $(DESTDIR)$(prefix)/bin
40+
mkdir -p $(DESTDIR)$(prefix)/lib
41+
mkdir -p $(DESTDIR)$(prefix)/include
42+
mkdir -p $(DESTDIR)$(prefix)/man/man1
3943
for f in $(IPROGS); do cp $$f $(DESTDIR)$(prefix)/bin; done
4044
for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
4145
for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done

0 commit comments

Comments
 (0)