--- dbench-4.0/Makefile.in.destdir 2007-06-20 16:42:46.000000000 -0400 +++ dbench-4.0/Makefile.in 2007-06-20 16:44:56.000000000 -0400 @@ -32,12 +32,12 @@ # Careful here: don't install client.txt over itself. install: all - ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir) - ${INSTALLCMD} dbench tbench tbench_srv $(bindir) - ${INSTALLCMD} client.txt $(datadir) - ${INSTALLCMD} -m644 dbench.1 $(mandir) - ln -sf dbench.1 $(mandir)/tbench.1 - ln -sf dbench.1 $(mandir)/tbench_srv.1 + ${INSTALLCMD} -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(datadir) $(DESTDIR)/$(mandir) + ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)/$(bindir) + ${INSTALLCMD} client.txt $(DESTDIR)/$(datadir) + ${INSTALLCMD} -m644 dbench.1 $(DESTDIR)/$(mandir) + ln -sf dbench.1 $(DESTDIR)/$(mandir)/tbench.1 + ln -sf dbench.1 $(DESTDIR)/$(mandir)/tbench_srv.1 clean: rm -f *.o *~ dbench tbench tbench_srv