ITS#7656 fix install target

This commit is contained in:
John Hewson 2013-08-10 04:12:42 -07:00 committed by Howard Chu
parent 86551828ab
commit ef899fe84e

View File

@ -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