aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2011-10-23 20:56:33 +0200
committerKim Alvefur <zash@zash.se>2011-10-23 20:56:33 +0200
commitcea60b7a5d8f81f2515bd273279141d9925728f1 (patch)
treef3a943a7d491a6f38cd7e90c6879d225b77bb42e /Makefile
parent7b90137fe8fb786fe5c9d5f8753e772582ad7681 (diff)
downloadprosody-cea60b7a5d8f81f2515bd273279141d9925728f1.tar.gz
prosody-cea60b7a5d8f81f2515bd273279141d9925728f1.zip
Makefile: Fix making of prosody.version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9d0c3d23..0fa8b28e 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@
prosody.version: $(wildcard prosody.release .hg/dirstate)
- test -e .hg/dirstate && hexdump -n6 -e'6/1 "%02x"' .hg/dirstate \
- > $@
- test -f prosody.release && cp prosody.release $@ || true
+ test -e .hg/dirstate && \
+ hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true
+ test -f prosody.release && \
+ cp prosody.release $@ || true