Software /
code /
prosody
Comparison
Makefile @ 464:f1827353fd58
More Makefile improvements
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 02:23:48 +0000 |
parent | 463:a2452d3bd828 |
child | 465:9ab51c483cf3 |
comparison
equal
deleted
inserted
replaced
463:a2452d3bd828 | 464:f1827353fd58 |
---|---|
2 include config.unix | 2 include config.unix |
3 | 3 |
4 BIN = $(DESTDIR)$(PREFIX)/bin | 4 BIN = $(DESTDIR)$(PREFIX)/bin |
5 CONFIG = $(DESTDIR)$(SYSCONFDIR) | 5 CONFIG = $(DESTDIR)$(SYSCONFDIR) |
6 MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules | 6 MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules |
7 | 7 SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody |
8 SOURCEDIR = $(DESTDIR)$(PREFIX)/lib/prosody | |
9 | 8 |
10 all: | 9 all: |
11 $(MAKE) all -C util-src | 10 $(MAKE) all -C util-src |
12 | 11 |
13 install: prosody | 12 install: prosody util/encodings.so util/encodings.so |
14 install -d $(BIN) $(CONFIG) $(MODULES) | 13 |
14 install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) | |
15 install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util | |
15 install ./prosody $(BIN) | 16 install ./prosody $(BIN) |
17 install -m644 core/* $(SOURCE)/core | |
18 install -m644 net/* $(SOURCE)/net | |
19 install -m644 util/* $(SOURCE)/util | |
16 install -m644 plugins/* $(MODULES) | 20 install -m644 plugins/* $(MODULES) |
17 install -m644 prosody.cfg.lua $(CONFIG) | 21 install -m644 prosody.cfg.lua $(CONFIG) |
18 $(MAKE) install -C util-src | 22 $(MAKE) install -C util-src |
19 | 23 |
20 clean: | 24 clean: |
21 $(MAKE) clean -C util-src | 25 $(MAKE) clean -C util-src |
26 | |
27 util/encodings.so: | |
28 $(MAKE) install -C util-src | |
29 | |
30 util/hashes.so: | |
31 $(MAKE) install -C util-src |