From: John Hewson Date: Sat, 10 Aug 2013 11:12:42 +0000 (-0700) Subject: ITS#7656 fix install target X-Git-Tag: accepted/tizen/5.0/unified/20181102.030725~572 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef899fe84ed6eabe1e327eaee74f91c787d3bbfc;p=platform%2Fupstream%2Flmdb.git ITS#7656 fix install target --- diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile index 8255d8b..30d2202 100644 --- a/libraries/liblmdb/Makefile +++ b/libraries/liblmdb/Makefile @@ -48,10 +48,10 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5 all: $(ILIBS) $(PROGS) install: $(ILIBS) $(IPROGS) $(IHDRS) - cp $(IPROGS) $(DESTDIR)$(prefix)/bin - cp $(ILIBS) $(DESTDIR)$(prefix)/lib - cp $(IHDRS) $(DESTDIR)$(prefix)/include - cp $(IDOCS) $(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 + for f in $(IDOCS); do cp $$f $(DESTDIR)$(prefix)/man/man1; done clean: rm -rf $(PROGS) *.[ao] *.so *~ testdb