diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-18 17:58:05 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-18 17:58:05 +0000 |
commit | dd8b4f152607d0d40b47f58a1dcaa6c85d98f816 (patch) | |
tree | 5e2434f3419a4ec0aa5febbd2b388b2e7377ae5f /Makefile | |
parent | 82d5f8c819e00b9d224baa221090f79905845bc9 (diff) |
Add Asterisk manpage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3471 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -108,6 +108,7 @@ ASTCONFPATH=$(ASTETCDIR)/asterisk.conf ASTBINDIR=$(INSTALL_PREFIX)/usr/bin ASTSBINDIR=$(INSTALL_PREFIX)/usr/sbin ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run +ASTMANDIR=$(INSTALL_PREFIX)/usr/share/man MODULES_DIR=$(ASTLIBDIR)/modules AGI_DIR=$(ASTVARLIBDIR)/agi-bin @@ -203,7 +204,7 @@ _all: all @echo " + $(MAKE) install +" @echo " +-------------------------------------------+" -all: depend asterisk subdirs +all: depend asterisk subdirs editline/config.h: cd editline && unset CFLAGS LIBS && ./configure ; \ @@ -240,6 +241,14 @@ cli.o: cli.c build.h asterisk.o: asterisk.c build.h +manpage: asterisk.8.gz + +asterisk.8.gz: asterisk.sgml + rm -f asterisk.8 + docbook2man asterisk.sgml + mv ./*.8 asterisk.8 + gzip asterisk.8 + ifneq ($(strip $(ASTERISKVERSION)),) build.h: .version ./make_build_h @@ -365,6 +374,7 @@ bininstall: all mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/firmware/iax install -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTVARLIBDIR)/keys install -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTVARLIBDIR)/keys + install -m 644 asterisk.8.gz $(DESTDIR)$(ASTMANDIR)/man8 if [ -d contrib/firmware/iax ]; then \ install -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTVARLIBDIR)/firmware/iax/iaxy.bin; \ else \ |