diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-29 02:23:48 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-29 02:23:48 +0000 |
commit | 2e0ae8ed92e4801866f5486c6595c7e6c74d3a0a (patch) | |
tree | 4d268ffbf9cb664141c06b7634303b1eb649c51b /Makefile | |
parent | dcf87bb7c912e4206aae1fd3c959d87e8f59242f (diff) | |
download | prosody-2e0ae8ed92e4801866f5486c6595c7e6c74d3a0a.tar.gz prosody-2e0ae8ed92e4801866f5486c6595c7e6c74d3a0a.zip |
More Makefile improvements
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -4,18 +4,28 @@ include config.unix BIN = $(DESTDIR)$(PREFIX)/bin CONFIG = $(DESTDIR)$(SYSCONFDIR) MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules - -SOURCEDIR = $(DESTDIR)$(PREFIX)/lib/prosody +SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody all: $(MAKE) all -C util-src -install: prosody - install -d $(BIN) $(CONFIG) $(MODULES) +install: prosody util/encodings.so util/encodings.so + + install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) + install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util install ./prosody $(BIN) + install -m644 core/* $(SOURCE)/core + install -m644 net/* $(SOURCE)/net + install -m644 util/* $(SOURCE)/util install -m644 plugins/* $(MODULES) install -m644 prosody.cfg.lua $(CONFIG) $(MAKE) install -C util-src clean: $(MAKE) clean -C util-src + +util/encodings.so: + $(MAKE) install -C util-src + +util/hashes.so: + $(MAKE) install -C util-src |