tags 264118 + patch stop
Hi, I've transcribed the README.Debian into a man page. Attached is a patch that puts the man page into the source tree and removes the README.Debian.
diff -Nru /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/changelog /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/changelog --- /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/changelog 2005-07-13 02:08:27.000000000 +0200 +++ /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/changelog 2005-11-02 11:31:36.000000000 +0100 @@ -1,3 +1,9 @@ +type-handling (0.2.17) unstable; urgency=low + + * Added man page (closes: #264118), removed README.Debian + + -- Peter Eisentraut <[EMAIL PROTECTED]> Wed, 2 Nov 2005 11:28:42 +0100 + type-handling (0.2.16) unstable; urgency=low * Added ugly hacks to make type-handling works for amd64 and hurd. diff -Nru /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/README.Debian /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/README.Debian --- /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/README.Debian 2004-09-22 12:44:05.000000000 +0200 +++ /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/README.Debian 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -type-handling for Debian ------------------------- - -The main purpose of this utility is using it in combination with sed to -generate a debian/control file with architecture lists that dpkg can -understand. - -Syntax: type-handling [-n|--negated] [-r|--reverted] <cpu_list> <system_list> - -Input variables: - - cpu_list is a list of CPUs as recognised by dpkg-architecture. Each CPU must - be comma-separated. The string "any" is a wildcard, and will be translated - to a list of all recognised CPUs. - - system_list is the same for systems recognised by dpkg-architecture. - -Output: - - type-handling will print every dpkg architecture that matches _BOTH_ one of - the specified CPUs and one of the specified systems. - - If the -n option was specified, it will print those that do NOT match - instead. - - If the -r option was specified, it will print a reverted EQUIVALENT of the - same string by prefixing with '!'. This option has no practical effect and - is only intended for aesthetical/readability purposes. Note that in some - situations, the '!' negated string cannot be parsed by dpkg (e.g. in - Architecture fields) so use with care. - -Examples: - - $ type-handling i386,powerpc,x86_64 linux-gnu - i386 powerpc amd64 - - $ type-handling any linux-gnu - alpha arm hppa [...] sparc64 amd64 - - $ type-handling i386 any - darwin-i386 freebsd-i386 hurd-i386 kfreebsd-i386 knetbsd-i386 i386 netbsd-i386 openbsd-i386 - - -- Robert Millan <[EMAIL PROTECTED]> Wed, 18 Aug 2004 16:44:51 +0200 diff -Nru /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/rules /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/rules --- /tmp/pc5d7sIXZl/type-handling-0.2.16/debian/rules 2005-07-03 22:32:55.000000000 +0200 +++ /tmp/8Qw3N7vI4K/type-handling-0.2.17/debian/rules 2005-11-02 11:28:37.000000000 +0100 @@ -66,7 +66,7 @@ # dh_installmime # dh_installinit # dh_installcron - dh_installman + dh_installman type-handling.1 dh_installinfo dh_installchangelogs dh_link diff -Nru /tmp/pc5d7sIXZl/type-handling-0.2.16/type-handling.1 /tmp/8Qw3N7vI4K/type-handling-0.2.17/type-handling.1 --- /tmp/pc5d7sIXZl/type-handling-0.2.16/type-handling.1 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/8Qw3N7vI4K/type-handling-0.2.17/type-handling.1 2005-11-02 11:27:01.000000000 +0100 @@ -0,0 +1,41 @@ +.TH TYPE-HANDLING 1 "November 2005" "Debian" +.SH NAME +type-handling \- dpkg architecture generation script +.SH SYNOPSIS +\fBtype-handling\fR [\fB\-n\fR|\fB\-\-negated\fR] [\fB\-r\fR|\fB\-\-reverted\fR] \fIcpu...\fR \fIsystem...\fR +.SH DESCRIPTION +The main purpose of this utility is using it in combination with \fBsed\fR +to generate a \fIdebian/control\fR file with architecture lists that \fBdpkg\fR +can understand. \fIcpu\fR is a CPU as recognized by \fBdpkg-architecture\fR. +A list of CPUs must be comma-separated. The string \fBany\fR is a wildcard and +will be translated to a list of all recognised CPUs. \fIsystem\fR is the same +for systems recognised by \fBdpkg-architecture\fR. +.PP +\fBtype-handling\fR will print every \fBdpkg\fR architecture that matches +\fIboth\fR one of the specified CPUs and one of the specified systems. +.SH OPTIONS +.TP +.B \-n +\fBtype-handling\fR will instead print architectures that do \fInot\fR match. +.TP +.B \-r +\fBtype-handling\fR will print a reverted \fIequivalent\fR of the same string +by prefixing with \fB!\fR. This option has no practical effect and is only +intended for aesthetical/readability purposes. Note that in some situations, +the \fB!\fR negated string cannot be parsed by dpkg (e.g., in +\fBArchitecture\fR fields), so use with care. +.SH EXAMPLES +.sp +.nf +$ \fBtype-handling i386,powerpc,x86_64 linux-gnu\fR +i386 powerpc amd64 +.sp +$ \fBtype-handling any linux-gnu\fR +alpha arm hppa [...] sparc64 amd64 +.sp +$ \fBtype-handling i386 any\fR +darwin-i386 freebsd-i386 hurd-i386 kfreebsd-i386 knetbsd-i386 i386 netbsd-i386 openbsd-i386 +.sp +.fi +.SH "SEE ALSO" +.BR dpkg (1)