Software /
code /
prosody
Comparison
Makefile @ 492:279f64370885
Don't write to prosody.cfg.lua from Makefile. Much apologies to poor albert :(
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 22:28:11 +0000 |
parent | 481:29f974ef00a7 |
child | 493:5f4416c53aeb |
comparison
equal
deleted
inserted
replaced
491:25042b0d2626 | 492:279f64370885 |
---|---|
23 install -m644 net/* $(SOURCE)/net | 23 install -m644 net/* $(SOURCE)/net |
24 install -m644 util/* $(SOURCE)/util | 24 install -m644 util/* $(SOURCE)/util |
25 install -m644 plugins/* $(MODULES) | 25 install -m644 plugins/* $(MODULES) |
26 install -m644 certs/* $(CONFIG)/certs | 26 install -m644 certs/* $(CONFIG)/certs |
27 install -m644 plugins/* $(MODULES) | 27 install -m644 plugins/* $(MODULES) |
28 install -m644 prosody.cfg.lua $(CONFIG)/prosody.cfg.lua | 28 install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua |
29 $(MAKE) install -C util-src | 29 $(MAKE) install -C util-src |
30 | 30 |
31 clean: | 31 clean: |
32 rm -f prosody.install | 32 rm -f prosody.install |
33 rm -f prosody.cfg.lua | 33 rm -f prosody.cfg.lua.install |
34 $(MAKE) clean -C util-src | 34 $(MAKE) clean -C util-src |
35 | 35 |
36 util/encodings.so: | 36 util/encodings.so: |
37 $(MAKE) install -C util-src | 37 $(MAKE) install -C util-src |
38 | 38 |
41 | 41 |
42 prosody.install: prosody | 42 prosody.install: prosody |
43 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|;s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" prosody > prosody.install | 43 sed "s|^CFG_SOURCEDIR=.*;$$|CFG_SOURCEDIR='$(INSTALLEDSOURCE)';|;s|^CFG_CONFIGDIR=.*;$$|CFG_CONFIGDIR='$(INSTALLEDCONFIG)';|;s|^CFG_PLUGINDIR=.*;$$|CFG_PLUGINDIR='$(INSTALLEDMODULES)/';|;" prosody > prosody.install |
44 | 44 |
45 prosody.cfg.lua: | 45 prosody.cfg.lua: |
46 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua | 46 sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > prosody.cfg.lua.install |
47 | 47 |