Software / code / prosody
Comparison
Makefile @ 4403:eb688e4397a5
Makefile: Fix making of prosody.version
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 23 Oct 2011 20:56:33 +0200 |
| parent | 4402:05f8826972ba |
| child | 4406:424e14d3f99b |
comparison
equal
deleted
inserted
replaced
| 4402:05f8826972ba | 4403:eb688e4397a5 |
|---|---|
| 61 | 61 |
| 62 prosody.cfg.lua.install: prosody.cfg.lua.dist | 62 prosody.cfg.lua.install: prosody.cfg.lua.dist |
| 63 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ | 63 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ |
| 64 | 64 |
| 65 prosody.version: $(wildcard prosody.release .hg/dirstate) | 65 prosody.version: $(wildcard prosody.release .hg/dirstate) |
| 66 test -e .hg/dirstate && hexdump -n6 -e'6/1 "%02x"' .hg/dirstate \ | 66 test -e .hg/dirstate && \ |
| 67 > $@ | 67 hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true |
| 68 test -f prosody.release && cp prosody.release $@ || true | 68 test -f prosody.release && \ |
| 69 cp prosody.release $@ || true |