blob: 4cd2a35f5efcf537895142f6b36e451246ce1056 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Append $(DESTDIR) to all $(bindir), $(datadir) and $(mandir). Got
2this patch from OE commit id 709c4d66e0b107ca606941b988bad717c0b45d9b
3
4Upstream-Status: Inappropriate [not author]
5
6Index: dbench-3.04/Makefile.in
7===================================================================
8--- dbench-3.04.orig/Makefile.in 2006-09-17 20:21:07.000000000 +0200
9+++ dbench-3.04/Makefile.in 2006-09-17 20:21:36.000000000 +0200
10@@ -32,12 +32,12 @@
11
12 # Careful here: don't install client.txt over itself.
13 install: all
14- ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir)
15- ${INSTALLCMD} dbench tbench tbench_srv $(bindir)
16- ${INSTALLCMD} client.txt $(datadir)
17- ${INSTALLCMD} -m644 dbench.1 $(mandir)
18- ln -sf dbench.1 $(mandir)/tbench.1
19- ln -sf dbench.1 $(mandir)/tbench_srv.1
20+ ${INSTALLCMD} -d $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(mandir)
21+ ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)$(bindir)
22+ ${INSTALLCMD} @top_srcdir@/client.txt $(DESTDIR)$(datadir)
23+ ${INSTALLCMD} -m644 @top_srcdir@/dbench.1 $(DESTDIR)$(mandir)
24+ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1
25+ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1
26
27 clean:
28 rm -f *.o *~ dbench tbench tbench_srv