From 6ac9b5f26bc0d22899e9b01e06857ba1751d721f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 23 Oct 2011 20:56:33 +0200 Subject: Makefile: Fix making of prosody.version --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3