[Asterisk-cvs] zaptel Makefile,1.83,1.84

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri Jul 15 16:43:24 CDT 2005


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv12414

Modified Files:
	Makefile 
Log Message:
add manpages for zaptel utilities (bug #4715)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- Makefile	13 Jul 2005 17:50:13 -0000	1.83
+++ Makefile	15 Jul 2005 20:51:11 -0000	1.84
@@ -116,7 +116,7 @@
 #PRIMARY=wcfxo
 PWD:=$(shell pwd)
 
-all: $(BUILDVER) $(LIBTONEZONE_SO)
+all: $(BUILDVER) $(LIBTONEZONE_SO) manpages
 
 linux24: $(MODULESO) $(BINS)
 
@@ -295,6 +295,23 @@
 	@echo "**** If you are running udev, read README.udev"
 endif
 
+manpages: doc/ztcfg.8.gz doc/ztmonitor.8.gz doc/zttool.8.gz
+
+doc/ztcfg.8.gz: doc/ztcfg.sgml
+	rm -f doc/ztcfg.8.gz
+	docbook2man -o doc doc/ztcfg.sgml
+	gzip doc/ztcfg.8
+
+doc/zttool.8.gz: doc/zttool.sgml
+	rm -f doc/zttool.8.gz
+	docbook2man -o doc doc/zttool.sgml
+	gzip doc/zttool.8
+
+doc/ztmonitor.8.gz: doc/ztmonitor.sgml
+	rm -f doc/ztmonitor.8.gz
+	docbook2man -o doc doc/ztmonitor.sgml
+	gzip doc/ztmonitor.8
+
 install: all devices
 	install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg
 	if [ -f sethdlc-new ]; then \
@@ -329,6 +346,9 @@
 	install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h
 	install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h
 	install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h
+	install -m 644 doc/ztcfg.8.gz $(INSTALL_PREFIX)/usr/share/man/man8
+	install -m 644 doc/ztmonitor.8.gz $(INSTALL_PREFIX)/usr/share/man/man8
+	install -m 644 doc/zttool.8.gz $(INSTALL_PREFIX)/usr/share/man/man8
 	if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi
 	cat $(MODCONF).bak | grep -v "alias char-major-250" | \
 	grep -v "post-install torisa /sbin/ztcfg" | \




More information about the svn-commits mailing list