aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 403bf842..c508dc5f 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,9 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
%.version: %.release
cp $^ $@
+%.version: .hg_archival.txt
+ sed -n 's/^node: \(............\).*/\1/p' $^ > $@
+
%.version: .hg/dirstate
hexdump -n6 -e'6/1 "%02x"' $^ > $@