Browse Source

[1687] make sure sockcreator manual is installed

Jeremy C. Reed 12 years ago
parent
commit
7836678d11
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/bin/sockcreator/Makefile.am

+ 10 - 0
src/bin/sockcreator/Makefile.am

@@ -12,6 +12,16 @@ pkglibexecdir = $(libexecdir)/@PACKAGE@
 
 CLEANFILES = *.gcno *.gcda
 
+man_MANS = b10-sockcreator.8
+EXTRA_DIST = $(man_MANS) b10-sockcreator.xml
+
+if ENABLE_MAN
+
+b10-sockcreator.8: b10-sockcreator.xml
+        xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-sockcreator.xml
+
+endif
+
 pkglibexec_PROGRAMS = b10-sockcreator
 
 b10_sockcreator_SOURCES = sockcreator.cc sockcreator.h main.cc