diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-26 23:38:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-26 23:38:09 +0200 |
commit | 321cfea3f348b4dd902d8a444c800a288578fffc (patch) | |
tree | 3e30657c42e1b50cb574333df8293dee4b98938e | |
parent | ddc546654041db461661773e9346fcbeb199719a (diff) | |
download | prosody-321cfea3f348b4dd902d8a444c800a288578fffc.tar.gz prosody-321cfea3f348b4dd902d8a444c800a288578fffc.zip |
util-src/Makefile: Use variables for install binary and target directory
-rw-r--r-- | util-src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 1f092b1e..d99c9515 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -11,6 +11,9 @@ CXX?=g++ 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=encodings.so hashes.so net.so pposix.so signal.so table.so all: $(ALL) install: $(ALL) - install $^ ../util/ + $(INSTALL_DATA) $^ $(TARGET) clean: rm -f $(ALL) |