projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4b175b
)
Makefile: Fix building prosody.version (.hg/dirstate is a file, not a directory)
author
Kim Alvefur
<zash@zash.se>
Mon, 21 Sep 2015 21:00:49 +0000
(23:00 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 21 Sep 2015 21:00:49 +0000
(23:00 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 492d7ea5fd2b3f14c3d4ab798538f50ea70814c6..e7a36ffe8cc1c1e7d201a4b7b044f0fcaafae6df 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-66,7
+66,7
@@
prosody.cfg.lua.install: prosody.cfg.lua.dist
sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@
prosody.version: $(wildcard prosody.release .hg/dirstate)
- test -
d
.hg/dirstate && \
+ test -
f
.hg/dirstate && \
hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true
test -f prosody.release && \
cp prosody.release $@ || true