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
commit7eae765921d5d7149074efd8f30c8b06bc2c1a6e (patch)
tree02960acb7459426a55b50dd518fcc3b7323a0fb3 /Makefile
parentf4c963ef6a25a956aff93b8350f6b607874fd72a (diff)
downloadprosody-7eae765921d5d7149074efd8f30c8b06bc2c1a6e.tar.gz
prosody-7eae765921d5d7149074efd8f30c8b06bc2c1a6e.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