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 | 8891876d7de90501961c187f9b2f210f9cafa74e (patch) | |
tree | af96e42a8f62b687141c41a72ad9dc68eb33a219 /Makefile | |
parent | 4d24241616d652a6c94ca698454ed764a72a0d46 (diff) | |
download | prosody-8891876d7de90501961c187f9b2f210f9cafa74e.tar.gz prosody-8891876d7de90501961c187f9b2f210f9cafa74e.zip |
Makefile: Support generating prosody.version from hg archive metadata file
Diffstat (limited to 'Makefile')
-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"' $^ > $@ |