Software /
code /
prosody
Comparison
Makefile @ 463:a2452d3bd828
Add a top-level Makefile and ./configure script. Update util-src Makefile for this.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 29 Nov 2008 02:07:33 +0000 |
child | 464:f1827353fd58 |
comparison
equal
deleted
inserted
replaced
462:c6fd961b98f9 | 463:a2452d3bd828 |
---|---|
1 | |
2 include config.unix | |
3 | |
4 BIN = $(DESTDIR)$(PREFIX)/bin | |
5 CONFIG = $(DESTDIR)$(SYSCONFDIR) | |
6 MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules | |
7 | |
8 SOURCEDIR = $(DESTDIR)$(PREFIX)/lib/prosody | |
9 | |
10 all: | |
11 $(MAKE) all -C util-src | |
12 | |
13 install: prosody | |
14 install -d $(BIN) $(CONFIG) $(MODULES) | |
15 install ./prosody $(BIN) | |
16 install -m644 plugins/* $(MODULES) | |
17 install -m644 prosody.cfg.lua $(CONFIG) | |
18 $(MAKE) install -C util-src | |
19 | |
20 clean: | |
21 $(MAKE) clean -C util-src |