Software /
code /
prosody
Changeset
6877:020ededc84a6
util-src/Makefile: Use variables for install binary and target directory
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 26 Sep 2015 23:38:09 +0200 |
parents | 6876:d1fc95d22f33 |
children | 6878:53a74a80c91a |
files | util-src/Makefile |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/Makefile Sat Sep 26 23:29:50 2015 +0200 +++ b/util-src/Makefile Sat Sep 26 23:38:09 2015 +0200 @@ -11,6 +11,9 @@ LD?=gcc CFLAGS+=-ggdb +INSTALL_DATA=install -m644 +TARGET?=../util/ + ALL=encodings.so hashes.so net.so pposix.so signal.so table.so .PHONY: all install clean @@ -19,7 +22,7 @@ all: $(ALL) install: $(ALL) - install $^ ../util/ + $(INSTALL_DATA) $^ $(TARGET) clean: rm -f $(ALL)