Comparison

Makefile @ 4628:087f4b437bd2

Makefile: Use cp instead of install, and make sure the correct umask is set
author Kim Alvefur <zash@zash.se>
date Tue, 20 Mar 2012 12:50:53 +0100
parent 4577:ed0071f0e230
child 4686:5fd661424b9f
comparison
equal deleted inserted replaced
4627:b046cafc81a8 4628:087f4b437bd2
30 install -m644 net/* $(SOURCE)/net 30 install -m644 net/* $(SOURCE)/net
31 install -m644 util/*.lua $(SOURCE)/util 31 install -m644 util/*.lua $(SOURCE)/util
32 install -m644 util/*.so $(SOURCE)/util 32 install -m644 util/*.so $(SOURCE)/util
33 install -d $(SOURCE)/util/sasl 33 install -d $(SOURCE)/util/sasl
34 install -m644 util/sasl/* $(SOURCE)/util/sasl 34 install -m644 util/sasl/* $(SOURCE)/util/sasl
35 install -m644 plugins/*.lua $(MODULES) 35 umask 0022 && cp -r plugins/* $(MODULES)
36 install -m644 plugins/s2s/*.lua $(MODULES)
37 install -d $(MODULES)/muc
38 install -m644 plugins/muc/* $(MODULES)/muc
39 install -m644 certs/* $(CONFIG)/certs 36 install -m644 certs/* $(CONFIG)/certs
40 install -d $(MODULES)/adhoc
41 install -m644 plugins/adhoc/*.lua $(MODULES)/adhoc
42 install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 37 install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1
43 test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua 38 test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua
44 test -e prosody.version && install prosody.version $(SOURCE)/prosody.version || true 39 test -e prosody.version && install prosody.version $(SOURCE)/prosody.version || true
45 $(MAKE) install -C util-src 40 $(MAKE) install -C util-src
46 41