Software /
code /
prosody
Comparison
Makefile @ 6885:07078f762061
Makefile: Use hypen to tell Make when to ignore errors
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 00:16:34 +0200 |
parent | 6884:e32275ed5632 |
child | 6907:a24c9c1edd67 |
comparison
equal
deleted
inserted
replaced
6884:e32275ed5632 | 6885:07078f762061 |
---|---|
16 .PHONY: all clean install | 16 .PHONY: all clean install |
17 | 17 |
18 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version | 18 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version |
19 $(MAKE) -C util-src install | 19 $(MAKE) -C util-src install |
20 ifeq ($(EXCERTS),yes) | 20 ifeq ($(EXCERTS),yes) |
21 $(MAKE) -C certs localhost.crt example.com.crt || true | 21 -$(MAKE) -C certs localhost.crt example.com.crt |
22 endif | 22 endif |
23 | 23 |
24 install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so | 24 install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so |
25 install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) | 25 install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) |
26 install -m750 -d $(DATA) | 26 install -m750 -d $(DATA) |
40 install -m644 util/sasl/* $(SOURCE)/util/sasl | 40 install -m644 util/sasl/* $(SOURCE)/util/sasl |
41 umask 0022 && cp -r plugins/* $(MODULES) | 41 umask 0022 && cp -r plugins/* $(MODULES) |
42 install -m644 certs/* $(CONFIG)/certs | 42 install -m644 certs/* $(CONFIG)/certs |
43 install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 | 43 install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 |
44 test -f $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua | 44 test -f $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua |
45 test -f prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version || true | 45 -test -f prosody.version && install -m644 prosody.version $(SOURCE)/prosody.version |
46 $(MAKE) install -C util-src | 46 $(MAKE) install -C util-src |
47 | 47 |
48 clean: | 48 clean: |
49 rm -f prosody.install | 49 rm -f prosody.install |
50 rm -f prosodyctl.install | 50 rm -f prosodyctl.install |