[SCM] Minimal buy-in FITS library and utility package branch, master, updated. 854883540f9f30878cf36fd72126589ffa2b56e4

Ole Streicher debian at liska.ath.cx
Sun Feb 5 21:54:57 UTC 2012


The following commit has been merged in the master branch:
commit 854883540f9f30878cf36fd72126589ffa2b56e4
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sun Feb 5 22:53:12 2012 +0100

    Fix most manpages programmatically and fix manpages related lintian messages

diff --git a/debian/libfuntools-dev.lintian-overrides b/debian/libfuntools-dev.lintian-overrides
new file mode 100644
index 0000000..6196b35
--- /dev/null
+++ b/debian/libfuntools-dev.lintian-overrides
@@ -0,0 +1 @@
+spelling-error-in-manpage * ang and
diff --git a/debian/libfuntools1.lintian-overrides b/debian/libfuntools1.lintian-overrides
new file mode 100644
index 0000000..9f0a3fc
--- /dev/null
+++ b/debian/libfuntools1.lintian-overrides
@@ -0,0 +1 @@
+spelling-error-in-binary * ang and
diff --git a/debian/patches/fix_manpages.patch b/debian/patches/fix_manpages.patch
index 3a8834c..defabb5 100644
--- a/debian/patches/fix_manpages.patch
+++ b/debian/patches/fix_manpages.patch
@@ -1,7 +1,5 @@
 Author: Ole Streicher <debian at liska.ath.cx>
 Description: Fix manpages (section and name) so that lintian does not complain
-diff --git a/Makefile.in b/Makefile.in
-index 85f02fe..6ba1545 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -462,14 +462,19 @@ install-binaries: lib $(PROGS) $(SCRIPTS) $(DS9HELPERS)
@@ -27,48 +25,6 @@ index 85f02fe..6ba1545 100644
  		M="$(MAN_INSTALL_DIR)/man$$E"; \
  		if [ ! -d $$M ] ; then \
  		    echo "Making directory $$M"; \
-diff --git a/man/man1/funcalc.1 b/man/man1/funcalc.1
-index 377bf79..8ee2304 100644
---- a/man/man1/funcalc.1
-+++ b/man/man1/funcalc.1
-@@ -619,4 +619,4 @@ adding support for image expressions at a later point, if there is
- demand for such support from the community.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funcen.1 b/man/man1/funcen.1
-index 551263e..eb70978 100644
---- a/man/man1/funcen.1
-+++ b/man/man1/funcen.1
-@@ -247,4 +247,4 @@ See Region Boundaries for more information
- about how boundaries are calculated using these two methods.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funcnts.1 b/man/man1/funcnts.1
-index 2f25906..6486b9d 100644
---- a/man/man1/funcnts.1
-+++ b/man/man1/funcnts.1
-@@ -803,4 +803,4 @@ For more information about these difference, see the discussion of
- Region Boundaries.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funcone.1 b/man/man1/funcone.1
-index 4834767..1bd4e5d 100644
---- a/man/man1/funcone.1
-+++ b/man/man1/funcone.1
-@@ -282,4 +282,4 @@ in arc minutes:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/fundisp.1 b/man/man1/fundisp.1
-index 70b7023..0c668ca 100644
 --- a/man/man1/fundisp.1
 +++ b/man/man1/fundisp.1
 @@ -530,7 +530,6 @@ such as sed, at the cost of generating unaligned columns. For example:
@@ -87,312 +43,9 @@ index 70b7023..0c668ca 100644
       512,512,6,7,79493997.45854475,578,574
       512,512,8,9,79494575.58943175,579,573
       512,512,5,6,79493631.03866175,578,575
-@@ -588,4 +586,4 @@ The resulting filter file can then be used in various funtools programs:
- to process only the events in the good-time intervals.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funhead.1 b/man/man1/funhead.1
-index 99fc093..0674047 100644
---- a/man/man1/funhead.1
-+++ b/man/man1/funhead.1
-@@ -284,4 +284,4 @@ See Column-based Text Files
- for more information about header parameter format.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funhist.1 b/man/man1/funhist.1
-index 3e7711a..b4025b0 100644
---- a/man/man1/funhist.1
-+++ b/man/man1/funhist.1
-@@ -367,4 +367,4 @@ Similar plot commands are supplied in the script \fBfunhist.plot\fR:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funimage.1 b/man/man1/funimage.1
-index 5403890..ca5bb1d 100644
---- a/man/man1/funimage.1
-+++ b/man/man1/funimage.1
-@@ -1,3 +1,6 @@
-+
-+
-+
- .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
- .\"
- .\" Standard preamble:
-@@ -425,4 +428,4 @@ Display the \s-1FITS\s0 image generated from a blocked section of \s-1FITS\s0 bi
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funindex.1 b/man/man1/funindex.1
-index abefedd..61b5033 100644
---- a/man/man1/funindex.1
-+++ b/man/man1/funindex.1
-@@ -176,4 +176,4 @@ This will generate an index named foo_y.idx, which will be used by funtools
- for filters involving the Y column.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funjoin.1 b/man/man1/funjoin.1
-index ccd4540..a1e11dc 100644
---- a/man/man1/funjoin.1
-+++ b/man/man1/funjoin.1
-@@ -323,4 +323,4 @@ flag which files were used in each row:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funmerge.1 b/man/man1/funmerge.1
-index 974a642..5962808 100644
---- a/man/man1/funmerge.1
-+++ b/man/man1/funmerge.1
-@@ -212,4 +212,4 @@ This program only works on raw event files and binary tables. We have
- not yet implemented image and array merging.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funsky.1 b/man/man1/funsky.1
-index 2c6d2fd..568fab3 100644
---- a/man/man1/funsky.1
-+++ b/man/man1/funsky.1
-@@ -382,4 +382,4 @@ small discrepancy with ds9's converted values for floating point
- data. We will remedy this conflict in the future, maybe.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funtable.1 b/man/man1/funtable.1
-index 1a5090a..867e9a8 100644
---- a/man/man1/funtable.1
-+++ b/man/man1/funtable.1
-@@ -353,4 +353,4 @@ be output with their \*(L"\s-1VALUE\s0\*(R" column set to zero. Obviously, this
- switch does not make sense when individual events are output.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man1/funtbl.1 b/man/man1/funtbl.1
-index 2c5dfec..6a65d31 100644
---- a/man/man1/funtbl.1
-+++ b/man/man1/funtbl.1
-@@ -246,4 +246,4 @@ foo.out, the same result can be obtained by executing:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funclose.3 b/man/man3/funclose.3
-index 681e21b..58eab6f 100644
---- a/man/man3/funclose.3
-+++ b/man/man3/funclose.3
-@@ -157,4 +157,4 @@ you can call \fIFunFlush()\fR
- explicitly).
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funcolumnactivate.3 b/man/man3/funcolumnactivate.3
-index fdbc966..e12f801 100644
---- a/man/man3/funcolumnactivate.3
-+++ b/man/man3/funcolumnactivate.3
-@@ -327,4 +327,4 @@ of calling it this way:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funcolumnlookup.3 b/man/man3/funcolumnlookup.3
-index 4e3cc37..62c60eb 100644
---- a/man/man3/funcolumnlookup.3
-+++ b/man/man3/funcolumnlookup.3
-@@ -217,4 +217,4 @@ example:
- only returns information about the size of the phas vector.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funcolumnselect.3 b/man/man3/funcolumnselect.3
-index 13a565d..ad272f4 100644
---- a/man/man3/funcolumnselect.3
-+++ b/man/man3/funcolumnselect.3
-@@ -661,4 +661,4 @@ for working examples of how
- \&\fIFunColumnSelect()\fR is used.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funflush.3 b/man/man3/funflush.3
-index 52aef78..946fe7c 100644
---- a/man/man3/funflush.3
-+++ b/man/man3/funflush.3
-@@ -209,4 +209,4 @@ file:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funimageget.3 b/man/man3/funimageget.3
-index e4f105b..b928d94 100644
---- a/man/man3/funimageget.3
-+++ b/man/man3/funimageget.3
-@@ -329,4 +329,4 @@ See Binning \s-1FITS\s0 Binary Tables and
- Non-FITS Event Files for more information.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funimageput.3 b/man/man3/funimageput.3
-index adba50c..fbe6820 100644
---- a/man/man3/funimageput.3
-+++ b/man/man3/funimageput.3
-@@ -222,4 +222,4 @@ image padding. However, this is not necessary if you subsequently call
- \&\fIFunClose()\fR without doing any other I/O to the \s-1FITS\s0 file.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funimagerowget.3 b/man/man3/funimagerowget.3
-index 758b1db..eed9644 100644
---- a/man/man3/funimagerowget.3
-+++ b/man/man3/funimagerowget.3
-@@ -212,4 +212,4 @@ above for specifying binning columns in
- \&\fB\f(BIFunImageRowGet()\fB\fR.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funimagerowput.3 b/man/man3/funimagerowput.3
-index 03db150..22b70b2 100644
---- a/man/man3/funimagerowput.3
-+++ b/man/man3/funimagerowput.3
-@@ -199,4 +199,4 @@ image padding. However, this is not necessary if you subsequently call
- \&\fIFunClose()\fR without doing any other I/O to the \s-1FITS\s0 file.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funinfoget.3 b/man/man3/funinfoget.3
-index 7ca385c..830ad81 100644
---- a/man/man3/funinfoget.3
-+++ b/man/man3/funinfoget.3
-@@ -332,4 +332,4 @@ works internally. We are happy to help you write such programs as the
- need arises.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funinfoput.3 b/man/man3/funinfoput.3
-index 17304f1..a6b3fc2 100644
---- a/man/man3/funinfoput.3
-+++ b/man/man3/funinfoput.3
-@@ -243,4 +243,4 @@ Once the \s-1FUN_OPS\s0 variable has been reset, the next I/O call on the
- output extension will output the header, as expected.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funlib.3 b/man/man3/funlib.3
-index a04229e..2b891e9 100644
---- a/man/man3/funlib.3
-+++ b/man/man3/funlib.3
-@@ -131,7 +131,7 @@
- .IX Title "funlib 3"
- .TH funlib 3 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
- .SH "NAME"
--\&\fBFunLib: the Funtools Programming Interface\fR
-+FunLib \- the Funtools Programming Interface
- .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- A description of the Funtools library.
-@@ -522,4 +522,4 @@ void FunFlush(Fun fun, char *plist)
- void FunClose(Fun fun)
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funopen.3 b/man/man3/funopen.3
-index a1d9c8a..4906be6 100644
---- a/man/man3/funopen.3
-+++ b/man/man3/funopen.3
-@@ -269,4 +269,4 @@ Fun handle that is used in subsequent Funtools calls. On error, \s-1NULL\s0
- is returned.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funparamget.3 b/man/man3/funparamget.3
-index 3360afc..de3ea6e 100644
---- a/man/man3/funparamget.3
-+++ b/man/man3/funparamget.3
-@@ -259,4 +259,4 @@ header cards in a given extension and print out the raw card, use:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funparamput.3 b/man/man3/funparamput.3
-index 863a3f8..6645629 100644
---- a/man/man3/funparamput.3
-+++ b/man/man3/funparamput.3
-@@ -253,4 +253,4 @@ set the append argument to a non-zero value and the parameter did not
- already exist in the file.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funref.3 b/man/man3/funref.3
-index b8096c5..3203425 100644
---- a/man/man3/funref.3
-+++ b/man/man3/funref.3
-@@ -131,7 +131,7 @@
- .IX Title "funref 3"
- .TH funref 3 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
- .SH "NAME"
--\&\fBFunRef: the Funtools Reference Handle\fR
-+FunRef \- the Funtools Reference Handle
- .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- A description of how to use a Funtools reference handle to connect a
-@@ -284,4 +284,4 @@ is closed \fBbefore\fR the input file:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funtablerowget.3 b/man/man3/funtablerowget.3
-index 8547247..be8128b 100644
---- a/man/man3/funtablerowget.3
-+++ b/man/man3/funtablerowget.3
-@@ -213,4 +213,4 @@ Note that \fIFunTableRowGet()\fR also can be called as \fIFunEventsGet()\fR, for
- backward compatibility.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/man3/funtablerowput.3 b/man/man3/funtablerowput.3
-index 76e9ab4..80eceb8 100644
---- a/man/man3/funtablerowput.3
-+++ b/man/man3/funtablerowput.3
-@@ -294,4 +294,4 @@ Note that \fIFunTableRowPut()\fR also can be called as \fIFunEventsPut()\fR, for
- backward compatibility.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funcombine.n b/man/mann/funcombine.n
-index e4a482a..310c7e7 100644
 --- a/man/mann/funcombine.n
 +++ b/man/mann/funcombine.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -401,22 +54,11 @@ index e4a482a..310c7e7 100644
 +.IX Title "funcombine 7"
 +.TH funcombine 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunCombine: Combining Region and Table Filters\fR
-+FunCombine \- Combining Region and Table Filters
+ \&\fBFunCombine: Combining Region and Table Filters\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document discusses the conventions for combining region and table
-@@ -245,4 +245,4 @@ that the comma operator be avoided in such cases in favor of an
- explicit boolean operator.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funds9.n b/man/mann/funds9.n
-index 06ad76c..082690b 100644
 --- a/man/mann/funds9.n
 +++ b/man/mann/funds9.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -425,22 +67,11 @@ index 06ad76c..082690b 100644
 +.IX Title "funds9 1"
 +.TH funds9 1 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunDS9: Funtools and DS9 Image Display\fR
-+FunDS9 \- Funtools and DS9 Image Display
+ \&\fBFunDS9: Funtools and DS9 Image Display\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- Describes how funtools can be integrated into the ds9 Analysis menu.
-@@ -213,4 +213,4 @@ Aside from the units, the results should be identical to the file-based
- results.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funenv.n b/man/mann/funenv.n
-index f9d9526..9f37f0c 100644
 --- a/man/mann/funenv.n
 +++ b/man/mann/funenv.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -449,22 +80,11 @@ index f9d9526..9f37f0c 100644
 +.IX Title "funenv 7"
 +.TH funenv 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunEnv: Funtools Environment Variables\fR
-+FunEnv \- Funtools Environment Variables
+ \&\fBFunEnv: Funtools Environment Variables\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- Describes the environment variables which can be used to tailor the overall
-@@ -349,4 +349,4 @@ but care should be taken to reset its value to false when debugging is
- complete.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funfiles.n b/man/mann/funfiles.n
-index 3d42ac2..8d36eac 100644
 --- a/man/mann/funfiles.n
 +++ b/man/mann/funfiles.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -473,22 +93,11 @@ index 3d42ac2..8d36eac 100644
 +.IX Title "funfiles 7"
 +.TH funfiles 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunFiles: Funtools Data Files\fR
-+FunFiles \- Funtools Data Files
+ \&\fBFunFiles: Funtools Data Files\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document describes the data file formats (\s-1FITS\s0, array, raw
-@@ -799,4 +799,4 @@ in a filter, enclose the file specification in quotes:
- .Ve
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funfilters.n b/man/mann/funfilters.n
-index 192dc29..33fa301 100644
 --- a/man/mann/funfilters.n
 +++ b/man/mann/funfilters.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -497,22 +106,11 @@ index 192dc29..33fa301 100644
 +.IX Title "funfilters 7"
 +.TH funfilters 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunfilters: Filtering Rows in a Table\fR
-+Funfilters \- Filtering Rows in a Table
+ \&\fBFunfilters: Filtering Rows in a Table\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document contains a summary of the user interface for 
-@@ -461,4 +461,4 @@ notation (use decimal, hex, or octal instead). Please contact us if
- this is a problem.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funidx.n b/man/mann/funidx.n
-index 02711b7..b7971a7 100644
 --- a/man/mann/funidx.n
 +++ b/man/mann/funidx.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -521,22 +119,11 @@ index 02711b7..b7971a7 100644
 +.IX Title "funidx 7"
 +.TH funidx 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunidx: Using Indexes to Filter Rows in a Table\fR
-+Funidx \- Using Indexes to Filter Rows in a Table
+ \&\fBFunidx: Using Indexes to Filter Rows in a Table\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document contains a summary of the user interface for 
-@@ -324,4 +324,4 @@ event files. It does not work with text files. This restriction might be
- removed in a future release.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funregions.n b/man/mann/funregions.n
-index e468f53..04c5a54 100644
 --- a/man/mann/funregions.n
 +++ b/man/mann/funregions.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -545,22 +132,11 @@ index e468f53..04c5a54 100644
 +.IX Title "funregions 7"
 +.TH funregions 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegions: Spatial Region Filtering\fR
-+FunRegions \- Spatial Region Filtering
+ \&\fBRegions: Spatial Region Filtering\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document contains a summary of the user interface for spatial
-@@ -675,4 +675,4 @@ Region Coordinates, and
- Region Boundaries.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funtext.n b/man/mann/funtext.n
-index 041c0bc..d913223 100644
 --- a/man/mann/funtext.n
 +++ b/man/mann/funtext.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -569,22 +145,11 @@ index 041c0bc..d913223 100644
 +.IX Title "funtext 7"
 +.TH funtext 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFuntext: Support for Column\-based Text Files\fR
-+Funtext \- Support for Column\-based Text Files
+ \&\fBFuntext: Support for Column\-based Text Files\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document contains a summary of the options for processing column-based
-@@ -710,4 +710,4 @@ The issue of data type transitions (which to allow and which to disallow)
- is still under discussion.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/funtools.n b/man/mann/funtools.n
-index 31a69b2..c69b82c 100644
 --- a/man/mann/funtools.n
 +++ b/man/mann/funtools.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -593,11 +158,8 @@ index 31a69b2..c69b82c 100644
 +.IX Title "funtools 7"
 +.TH funtools 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFuntools: FITS Users Need Tools\fR
-+Funtools \- FITS Users Need Tools
+ \&\fBFuntools: FITS Users Need Tools\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document is the Table of Contents for Funtools.
 @@ -208,7 +208,7 @@ Funtools \s-1ASCII\s0 output
  [\fIfuntbl\fR\|(1)]
  .IP "\(bu" 4
@@ -674,7 +236,7 @@ diff --git a/man/mann/funview.n b/man/mann/funview.n
 index 187eb6e..8c2da90 100644
 --- a/man/mann/funview.n
 +++ b/man/mann/funview.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -683,16 +245,11 @@ index 187eb6e..8c2da90 100644
 +.IX Title "funview 7"
 +.TH funview 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBFunview: Database View Support for Tables\fR
-+Funview \- Database View Support for Tables
+ \&\fBFunview: Database View Support for Tables\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document contains a summary of the options for utilizing
-diff --git a/man/mann/regalgebra.n b/man/mann/regalgebra.n
-index 482867e..3bb6e3c 100644
 --- a/man/mann/regalgebra.n
 +++ b/man/mann/regalgebra.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -701,22 +258,11 @@ index 482867e..3bb6e3c 100644
 +.IX Title "regalgebra 7"
 +.TH regalgebra 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegAlgebra: Boolean Algebra on Spatial Regions\fR
-+RegAlgebra \- Boolean Algebra on Spatial Regions
+ \&\fBRegAlgebra: Boolean Algebra on Spatial Regions\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document describes the boolean arithmetic defined for 
-@@ -397,4 +397,4 @@ The two smaller circles are entirely contained within the two exclude
- \&\fB\s-1PIE\s0\fR slices and therefore are excluded from the region.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/regbounds.n b/man/mann/regbounds.n
-index d83ce83..4fc9da7 100644
 --- a/man/mann/regbounds.n
 +++ b/man/mann/regbounds.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -725,22 +271,11 @@ index d83ce83..4fc9da7 100644
 +.IX Title "regbounds 7"
 +.TH regbounds 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegBounds: Region Boundaries\fR
-+RegBounds \- Region Boundaries
+ \&\fBRegBounds: Region Boundaries\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- Describes how spatial region boundaries are handled.
-@@ -302,4 +302,4 @@ that funcnts would give the exact same results regardless of whether
- a table or a derived non-blocked binned image is used.]
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/regcoords.n b/man/mann/regcoords.n
-index 04c1f5f..678fea6 100644
 --- a/man/mann/regcoords.n
 +++ b/man/mann/regcoords.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -749,22 +284,11 @@ index 04c1f5f..678fea6 100644
 +.IX Title "regcoords 7"
 +.TH regcoords 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegCoords: Spatial Region Coordinates\fR
-+RegCoords \- Spatial Region Coordinates
+ \&\fBRegCoords: Spatial Region Coordinates\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document describes the specification of coordinate systems, and the 
-@@ -342,4 +342,4 @@ can be generated safely by asking ds9 to save/display regions in
- pixels using the \s-1PHYSICAL\s0 coordsys.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/regdiff.n b/man/mann/regdiff.n
-index 63746f0..475c594 100644
 --- a/man/mann/regdiff.n
 +++ b/man/mann/regdiff.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -773,22 +297,11 @@ index 63746f0..475c594 100644
 +.IX Title "regdiff 7"
 +.TH regdiff 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegDiff:Differences Between Funtools and IRAF Regions\fR
-+RegDiff \-Differences Between Funtools and IRAF Regions
+ \&\fBRegDiff:Differences Between Funtools and IRAF Regions\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- Describes the differences between Funtools/ds9 regions and the old \s-1IRAF/PROS\s0
-@@ -178,4 +178,4 @@ Spatial Region Filtering
- for more information.
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
-diff --git a/man/mann/reggeometry.n b/man/mann/reggeometry.n
-index 3f3c7ac..58b0a5e 100644
 --- a/man/mann/reggeometry.n
 +++ b/man/mann/reggeometry.n
-@@ -128,10 +128,10 @@
+@@ -128,8 +128,8 @@
  .rm #[ #] #H #V #F C
  .\" ========================================================================
  .\"
@@ -797,14 +310,16 @@ index 3f3c7ac..58b0a5e 100644
 +.IX Title "reggeometry 7"
 +.TH reggeometry 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
  .SH "NAME"
--\&\fBRegGeometry: Geometric Shapes in Spatial Region Filtering\fR
-+RegGeometry \- Geometric Shapes in Spatial Region Filtering
+ \&\fBRegGeometry: Geometric Shapes in Spatial Region Filtering\fR
  .SH "SYNOPSIS"
- .IX Header "SYNOPSIS"
- This document describes the geometry of regions available for spatial
-@@ -1268,4 +1268,4 @@ Note that you must supply an image of the appropriate size \*(-- in this case,
- a \s-1FITS\s0 image of dimension 40x40 is used.]
- .SH "SEE ALSO"
- .IX Header "SEE ALSO"
--See funtools(n) for a list of Funtools help pages
-+See funtools(7) for a list of Funtools help pages
+--- a/man/man3/funcolumnselect.3
++++ b/man/man3/funcolumnselect.3
+@@ -593,7 +593,7 @@
+ .PP
+ Note that the only modification to the call is in the plist string.
+ .PP
+-Of course, instead of using staticly allocated arrays, you also can specify
++Of course, instead of using statically allocated arrays, you also can specify
+ dynamically allocated pointers:
+ .PP
+ .Vb 7
diff --git a/debian/rules b/debian/rules
index 8b5fc0e..586e659 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,16 @@
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared --with-zlib=-lz --with-wcslib=-lwcstools  --with-tcl=/usr/lib --enable-dl
 
-override_dh_auto_build:
-	dh_auto_build -- all shtclfun
+patch_manpages:
 	for m in man/man?/*.? ; do \
 		sed -i "s/\([ \"\']\)\(-[A-Za-z0-9]\)/\1\\\\\2/g" $$m ; \
+		sed -i "s/^\\\&\\\fB\(.*\):\(.*\)\\\fR/\1 \- \2/g" $$m ; \
+		sed -i "s/funtools(n)/funtools(7)/g" $$m ; \
 	done
 
+override_dh_auto_build: patch_manpages
+	dh_auto_build -- all shtclfun
+
 override_dh_installchangelogs:
 	dh_installchangelogs doc/changelog.html
 
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..52788df
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# The files are removed in clean; however lintian cannot detect this.
+configure-generated-file-in-source

-- 
Minimal buy-in FITS library and utility package



More information about the debian-science-commits mailing list