File: manpage-section.patch

package info (click to toggle)
pxe-kexec 0.2.4-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 1,216 kB
  • ctags: 472
  • sloc: cpp: 3,030; ansic: 349; sh: 15; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Ensure that the manpage is installed to section 8, rather than the default of 1.
 Patch cherry picked from upstream commit.
Author: Dave Walker (Daviey) <DaveWalker@ubuntu.com>
Origin: http://hg.berlios.de/repos/pxe-kexec/raw-rev/d7ecec5d35a5

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-27  Dave Walker <DaveWalker@ubuntu.com>
+
+	* Fix section number of the manpage.
+
 2011-03-26  Bernhard Walle <bernhard@bwalle.de>
 
 	* Fix build.

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -50,6 +50,7 @@
         ${POD2MAN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pxe-kexec.pod
         --center="PXE-Kexec"
         --release=${PACKAGE_VERSION}
+        --section=8
         ${CMAKE_CURRENT_BINARY_DIR}/pxe-kexec.8 &&
         rm -f ${CMAKE_CURRENT_SOURCE_DIR}/pxe-kexec.8.xml &&
         gzip -f ${CMAKE_CURRENT_BINARY_DIR}/pxe-kexec.8