diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-27 00:15:57 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-27 00:15:57 +0200 |
commit | 308655e4eddbd7e7b1b64b122ce98022bef47f4e (patch) | |
tree | af96e42a8f62b687141c41a72ad9dc68eb33a219 | |
parent | b4c0bd85179fb1229d2b2ad2b39db1330dd928c5 (diff) | |
download | prosody-308655e4eddbd7e7b1b64b122ce98022bef47f4e.tar.gz prosody-308655e4eddbd7e7b1b64b122ce98022bef47f4e.zip |
Makefile: Support generating prosody.version from hg archive metadata file
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"' $^ > $@ |