mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
Merge 0.11->trunk
This commit is contained in:
commit
c013345fbb
1 changed files with 9 additions and 9 deletions
18
makefile
18
makefile
|
@ -101,12 +101,12 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
|
|||
sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > $@
|
||||
|
||||
prosody.version:
|
||||
test -f prosody.release && \
|
||||
cp prosody.release $@ || \
|
||||
test -f .hg_archival.txt && \
|
||||
sed -n 's/^node: \(............\).*/\1/p' .hg_archival.txt > $@ || \
|
||||
test -f .hg/dirstate && \
|
||||
hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || \
|
||||
echo unknown > $@
|
||||
|
||||
|
||||
if [ -f prosody.release ]; then \
|
||||
cp prosody.release $@; \
|
||||
elif [ -f .hg_archival.txt ]; then \
|
||||
sed -n 's/^node: \(............\).*/\1/p' .hg_archival.txt > $@; \
|
||||
elif [ -f .hg/dirstate ]; then \
|
||||
hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@; \
|
||||
else \
|
||||
echo unknown > $@; \
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue