Software /
code /
prosody
Diff
Makefile @ 1464:047ed6e52a41
Added man page for prosodyctl
author | Dwayne Bent <dbb.0@liqd.org> |
---|---|
date | Thu, 02 Jul 2009 15:20:15 -0400 |
parent | 1454:cc9b6ef41966 |
child | 1643:4642dd87e390 |
line wrap: on
line diff
--- a/Makefile Thu Jul 02 21:34:45 2009 +0500 +++ b/Makefile Thu Jul 02 15:20:15 2009 -0400 @@ -6,6 +6,7 @@ MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody DATA = $(DESTDIR)$(DATADIR) +MAN = $(DESTDIR)$(PREFIX)/share/man INSTALLEDSOURCE = $(PREFIX)/lib/prosody INSTALLEDCONFIG = $(SYSCONFDIR) @@ -18,6 +19,7 @@ install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) install -m750 -d $(DATA) + install -d $(MAN)/man1 install -d $(CONFIG)/certs install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util $(SOURCE)/fallbacks install -m755 ./prosody.install $(BIN)/prosody @@ -29,6 +31,7 @@ install -m644 plugins/* $(MODULES) install -m644 certs/* $(CONFIG)/certs install -m644 plugins/* $(MODULES) + install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua test -e prosody.version && install prosody.version $(SOURCE)/prosody.version || true $(MAKE) install -C util-src