Mercurial > hg > dmlib
changeset 2110:85f76ec15090
Support DESTDIR for 'make install'.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 24 May 2019 03:48:42 +0300 |
parents | 510ea816d1ff |
children | 2d0db1e6b4a7 |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri May 24 02:29:27 2019 +0300 +++ b/Makefile Fri May 24 03:48:42 2019 +0300 @@ -32,4 +32,4 @@ install: all - @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done + @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(DESTDIR)$(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(DESTDIR)$(PREFIX)/bin/; done