[scottfree] 07/11: Build docbook.6 from docbook.sgml

Stephen Kitt skitt at moszumanska.debian.org
Fri Jan 20 11:54:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository scottfree.

commit 3b26a08c48f799bf988e66b2a6fea2b243c0f471
Author: Stephen Kitt <steve at sk2.org>
Date:   Fri Jan 20 12:43:04 2017 +0100

    Build docbook.6 from docbook.sgml
---
 debian/changelog   |  1 +
 debian/control     |  1 +
 debian/rules       |  4 +++
 debian/scottfree.6 | 96 ------------------------------------------------------
 4 files changed, 6 insertions(+), 96 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 952514c..6ca46dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ scottfree (1.14-10) UNRELEASED; urgency=low
   * Clean up debian/control using cme.
   * Standards-Version 3.9.8.
   * Rewrite debian/copyright in machine-readable format.
+  * Build docbook.6 from docbook.sgml.
 
  -- Evgeni Golov <evgeni at debian.org>  Mon, 15 Jul 2013 22:22:03 +0200
 
diff --git a/debian/control b/debian/control
index 32f861f..33f5ba9 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Uploaders: Barry deFreese <bddebian at comcast.net>
 Section: games
 Priority: optional
 Build-Depends: debhelper (>= 10),
+               docbook-to-man,
                libncurses5-dev
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/scottfree.git
diff --git a/debian/rules b/debian/rules
index 2d33f6a..f23770f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,7 @@
 
 %:
 	dh $@
+
+override_dh_install:
+	docbook-to-man debian/scottfree.sgml > debian/scottfree.6
+	dh_install
diff --git a/debian/scottfree.6 b/debian/scottfree.6
deleted file mode 100644
index 67e08ef..0000000
--- a/debian/scottfree.6
+++ /dev/null
@@ -1,96 +0,0 @@
-.\" This -*- nroff -*- file has been generated from
-.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
-...\"
-...\"	transcript compatibility for postscript use.
-...\"
-...\"	synopsis:  .P! <file.ps>
-...\"
-.de P!
-\\&.
-.fl			\" force out current output buffer
-\\!%PB
-\\!/showpage{}def
-...\" the following is from Ken Flowers -- it prevents dictionary overflows
-\\!/tempdict 200 dict def tempdict begin
-.fl			\" prolog
-.sy cat \\$1\" bring in postscript file
-...\" the following line matches the tempdict above
-\\!end % tempdict %
-\\!PE
-\\!.
-.sp \\$2u	\" move below the image
-..
-.de pF
-.ie     \\*(f1 .ds f1 \\n(.f
-.el .ie \\*(f2 .ds f2 \\n(.f
-.el .ie \\*(f3 .ds f3 \\n(.f
-.el .ie \\*(f4 .ds f4 \\n(.f
-.el .tm ? font overflow
-.ft \\$1
-..
-.de fP
-.ie     !\\*(f4 \{\
-.	ft \\*(f4
-.	ds f4\"
-'	br \}
-.el .ie !\\*(f3 \{\
-.	ft \\*(f3
-.	ds f3\"
-'	br \}
-.el .ie !\\*(f2 \{\
-.	ft \\*(f2
-.	ds f2\"
-'	br \}
-.el .ie !\\*(f1 \{\
-.	ft \\*(f1
-.	ds f1\"
-'	br \}
-.el .tm ? font underflow
-..
-.ds f1\"
-.ds f2\"
-.ds f3\"
-.ds f4\"
-'\" t 
-.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
-.TH "ScottFree" "6" 
-.SH "NAME" 
-scottfree \(em interpreter for Scott Adams database game files 
-.SH "SYNOPSIS" 
-.PP 
-\fBscottfree\fP [\fB-d\fP]  [\fB-i\fP]  [\fB-y\fP]  [\fB-s\fP]  [\fB-t\fP]  [databasename]  [\fBsave-file\fP]  
-.SH "DESCRIPTION" 
-.PP 
-This manual page documents briefly the 
-\fBscottfree\fP command. 
-.PP 
-This manual page was written for the \fBDebian\fP distribution 
-because the original program does not have a manual page. 
-Instead, it has documentation in text format; see below. 
-.PP 
-\fBscottfree\fP is a program that reads and 
-executes TRS80 format Scott Adams datafiles. 
-.SH "OPTIONS" 
-.IP "\fB-d\fP         " 10 
-Debugging info on load. 
-.IP "\fB-i\fP         " 10 
-Generate "I am"-style messages. (default) 
-.IP "\fB-y\fP         " 10 
-Generate "You are"-style messages. 
-.IP "\fB-s\fP         " 10 
-Generate authentic Scott Adams driver light messages rather 
-than other driver style ones. 
-.IP "\fB-t\fP         " 10 
-Generate TRS80 style display. 
-.SH "SEE ALSO" 
-.PP 
-/usr/share/doc/scottfree/ 
-.SH "AUTHOR" 
-.PP 
-This manual page was written by Clint Adams <schizo at debian.org> for 
-the \fBDebian\fP system (but may be used by others).  Permission is 
-granted to copy, distribute and/or modify this document under 
-the terms of the GNU General Public License, 
-Version 2 or any later version published by the Free 
-Software Foundation. 
-...\" created by instant / docbook-to-man, Sat 31 Aug 2002, 22:04 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scottfree.git



More information about the Pkg-games-commits mailing list