Comparison

Makefile @ 4410:2928a74357c8

Makefile: Fix making of prosody.version
author Kim Alvefur <zash@zash.se>
date Sun, 23 Oct 2011 20:56:33 +0200
parent 4406:424e14d3f99b
child 4577:ed0071f0e230
comparison
equal deleted inserted replaced
4406:424e14d3f99b 4410:2928a74357c8
61 61
62 prosody.cfg.lua.install: prosody.cfg.lua.dist 62 prosody.cfg.lua.install: prosody.cfg.lua.dist
63 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ 63 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@
64 64
65 prosody.version: $(wildcard prosody.release .hg/dirstate) 65 prosody.version: $(wildcard prosody.release .hg/dirstate)
66 test -e .hg/dirstate && hexdump -n6 -e'6/1 "%02x"' .hg/dirstate \ 66 test -e .hg/dirstate && \
67 > $@ 67 hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true
68 test -f prosody.release && cp prosody.release $@ || true 68 test -f prosody.release && \
69 cp prosody.release $@ || true