]> git.donarmstrong.com Git - unscd.git/commitdiff
add manpage using help2man for unscd
authorDon Armstrong <don@donarmstrong.com>
Thu, 3 Dec 2015 18:38:58 +0000 (10:38 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 3 Dec 2015 18:38:58 +0000 (10:38 -0800)
debian/changelog
debian/control
debian/help2man [new file with mode: 0644]
debian/manpages [new file with mode: 0644]
debian/rules

index 7640d47f6bb4fdf9e6500e67d2d8aa33f05fd564..312c58b76a1721e9000f78b908127ec6928468fc 100644 (file)
@@ -1,7 +1,9 @@
 unscd (0.52-1) unstable; urgency=medium
 
   * New upstream release (Closes: #795618)
-  
+
+  [ Thanks to Chris Kuehl <ckuehl@ocf.berkeley.edu> ]
+  * Add manpage for unscd and nscd (Closes: #789871)
 
  --
 
index 6e3e6658d8869d473b967f3c0678a2c72e8ee533..a3f34fba4b95f8299f74d3d15c46422d43f07845 100644 (file)
@@ -2,7 +2,7 @@ Source: unscd
 Section: admin
 Priority: extra
 Standards-Version: 3.9.3
-Build-Depends: debhelper (>= 9), groff-base
+Build-Depends: debhelper (>= 9), groff-base, help2man
 Maintainer: Don Armstrong <don@debian.org>
 Vcs-Browser: http://git.donarmstrong.com/unscd.git
 Vcs-Git: git://git.donarmstrong.com/unscd.git
diff --git a/debian/help2man b/debian/help2man
new file mode 100644 (file)
index 0000000..c5208a0
--- /dev/null
@@ -0,0 +1,3 @@
+[authors]
+.B unscd
+was written primarily by Denys Vlasenko.
\ No newline at end of file
diff --git a/debian/manpages b/debian/manpages
new file mode 100644 (file)
index 0000000..1cc6819
--- /dev/null
@@ -0,0 +1,2 @@
+debian/unscd.man
+debian/nscd.man
index b93568908ee54cf7404cd48c5396f9a745679fee..e0ec0238673b5fa85c044c650b022e8645779349 100755 (executable)
@@ -9,6 +9,11 @@ override_dh_auto_clean:
 
 override_dh_auto_build:
        gcc $(CFLAGS) $(LDFLAGS) -o nscd nscd.c
+       help2man --name 'nscd which does not hang' \
+               --include debian/help2man \
+               --no-info \
+               ./nscd > debian/unscd.man
+       ln -fs unscd.man debian/nscd.man
 
 override_dh_auto_install:
        install -d debian/unscd/usr/sbin/