File dcbd-0.7.31rt-manpage-install of Package dcbd

Index: dcbd-0.7.25rt/Makefile
===================================================================
--- dcbd-0.7.25rt.orig/Makefile
+++ dcbd-0.7.25rt/Makefile
@@ -44,6 +44,7 @@ RM = /bin/rm -f
 
 
 DEFAULT_CFG_PATH = /etc/sysconfig/dcbd
+DEFAULT_MAN_PATH = /usr/share/man
 
 # library to use when linking the main program
 # the '-L.' option is used to tell the compiler to look for libraries
@@ -110,6 +111,8 @@ endif
 	install -T -D -m 755 $(PROG) $(INSTALL_MOD_PATH)/usr/sbin/$(PROG)
 	install -T -D -m 755 $(UTIL) $(INSTALL_MOD_PATH)/usr/sbin/$(UTIL)
 	install -T -D -m 755 dcbd.init $(INSTALL_MOD_PATH)/etc/init.d/dcbx
+	install -T -D -m 644 dcbd7 $(INSTALL_MOD_PATH)$(DEFAULT_MAN_PATH)/man7/dcbd.7
+	install -T -D -m 644 dcbtool7 $(INSTALL_MOD_PATH)$(DEFAULT_MAN_PATH)/man7/dcbtool.7
 ifeq (,$(INSTALL_MOD_PATH))
 	chkconfig --add dcbx
 	service dcbx start
openSUSE Build Service is sponsored by