Mercurial > hg > dmlib
comparison Makefile @ 2110:85f76ec15090
Support DESTDIR for 'make install'.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 24 May 2019 03:48:42 +0300 |
parents | 5e5f75b45f8d |
children | 69a5af2eb1ea |
comparison
equal
deleted
inserted
replaced
2109:510ea816d1ff | 2110:85f76ec15090 |
---|---|
30 | 30 |
31 include $(DMLIB)Makefile.gen | 31 include $(DMLIB)Makefile.gen |
32 | 32 |
33 | 33 |
34 install: all | 34 install: all |
35 @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(PREFIX)/bin/; done | 35 @for fn in $(TOOL_TARGETS); do echo " INSTALL $$fn $(DESTDIR)$(PREFIX)/bin/"; $(INSTALL) -m 755 "$$fn" $(DESTDIR)$(PREFIX)/bin/; done |