Software / code / prosody
Comparison
Makefile @ 6840:eeefe8d42b8b
Makefile: Fix building prosody.version (.hg/dirstate is a file, not a directory)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 21 Sep 2015 23:00:49 +0200 |
| parent | 6810:533fd843d91f |
| child | 6883:954a8a8c46d6 |
comparison
equal
deleted
inserted
replaced
| 6838:229e95aecf41 | 6840:eeefe8d42b8b |
|---|---|
| 64 | 64 |
| 65 prosody.cfg.lua.install: prosody.cfg.lua.dist | 65 prosody.cfg.lua.install: prosody.cfg.lua.dist |
| 66 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ | 66 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' $^ > $@ |
| 67 | 67 |
| 68 prosody.version: $(wildcard prosody.release .hg/dirstate) | 68 prosody.version: $(wildcard prosody.release .hg/dirstate) |
| 69 test -d .hg/dirstate && \ | 69 test -f .hg/dirstate && \ |
| 70 hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true | 70 hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || true |
| 71 test -f prosody.release && \ | 71 test -f prosody.release && \ |
| 72 cp prosody.release $@ || true | 72 cp prosody.release $@ || true |