Software /
code /
prosody
Comparison
Makefile @ 6884:e32275ed5632
Makefile: Support generating prosody.version from hg archive metadata file
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 00:15:57 +0200 |
parent | 6883:954a8a8c46d6 |
child | 6885:07078f762061 |
comparison
equal
deleted
inserted
replaced
6883:954a8a8c46d6 | 6884:e32275ed5632 |
---|---|
66 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ | 66 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ |
67 | 67 |
68 %.version: %.release | 68 %.version: %.release |
69 cp $^ $@ | 69 cp $^ $@ |
70 | 70 |
71 %.version: .hg_archival.txt | |
72 sed -n 's/^node: \(............\).*/\1/p' $^ > $@ | |
73 | |
71 %.version: .hg/dirstate | 74 %.version: .hg/dirstate |
72 hexdump -n6 -e'6/1 "%02x"' $^ > $@ | 75 hexdump -n6 -e'6/1 "%02x"' $^ > $@ |
73 | 76 |
74 %.version: | 77 %.version: |
75 echo unknown > $@ | 78 echo unknown > $@ |