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
commit6ac9b5f26bc0d22899e9b01e06857ba1751d721f (patch)
treef3a943a7d491a6f38cd7e90c6879d225b77bb42e /Makefile
parentf6ea411e763a8817a808df9ba3f5b31f3f76aa28 (diff)
downloadprosody-6ac9b5f26bc0d22899e9b01e06857ba1751d721f.tar.gz
prosody-6ac9b5f26bc0d22899e9b01e06857ba1751d721f.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