Changeset

4403:eb688e4397a5

Makefile: Fix making of prosody.version
author Kim Alvefur <zash@zash.se>
date Sun, 23 Oct 2011 20:56:33 +0200
parents 4402:05f8826972ba
children 4404:5356664ef9d4
files Makefile
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Oct 18 01:22:44 2011 +0200
+++ b/Makefile	Sun Oct 23 20:56:33 2011 +0200
@@ -63,6 +63,7 @@
 	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