[med-svn] r8103 - trunk/packages/mriconvert/trunk/debian

Steven Michael Robbins smr at alioth.debian.org
Fri Oct 7 02:59:45 UTC 2011


Author: smr
Date: 2011-10-07 02:59:45 +0000 (Fri, 07 Oct 2011)
New Revision: 8103

Added:
   trunk/packages/mriconvert/trunk/debian/MRIConvert.1
Removed:
   trunk/packages/mriconvert/trunk/debian/mcverter.1
Modified:
   trunk/packages/mriconvert/trunk/debian/changelog
   trunk/packages/mriconvert/trunk/debian/rules
Log:
Fix man pages.

Added: trunk/packages/mriconvert/trunk/debian/MRIConvert.1
===================================================================
--- trunk/packages/mriconvert/trunk/debian/MRIConvert.1	                        (rev 0)
+++ trunk/packages/mriconvert/trunk/debian/MRIConvert.1	2011-10-07 02:59:45 UTC (rev 8103)
@@ -0,0 +1,12 @@
+.TH MRICONVERT "1" "October 2011" "MRIConvert 2.0.217" "User Commands"
+.SH NAME
+MRIConvert \- interactive MRI conversion software
+.SH SYNOPSIS
+.B MRIConvert
+.SH DESCRIPTION
+.TP
+Interactive utility that reads DICOM MRI files and writes into NifTI, Analyze, MetaImage, or BrainVoyager formats.
+.SH "SEE ALSO"
+MRI files can be converted using the
+.B mcverter
+command-line tool.

Modified: trunk/packages/mriconvert/trunk/debian/changelog
===================================================================
--- trunk/packages/mriconvert/trunk/debian/changelog	2011-10-07 02:13:13 UTC (rev 8102)
+++ trunk/packages/mriconvert/trunk/debian/changelog	2011-10-07 02:59:45 UTC (rev 8103)
@@ -1,8 +1,11 @@
 mriconvert (2.0.217-2) unstable; urgency=low
 
   * rules: Support use of dpkg before 1.16.1 by using "-include" for
-    buildflags.mk.
+    buildflags.mk.  Create mcverter man page; install together with
+    MRIConvert manpage.
   
+  * MRIConvert.1: New.
+  
   * control: Update Standards-Version to 3.9.2.
 
  -- Steve M. Robbins <smr at debian.org>  Thu, 06 Oct 2011 21:03:57 -0500

Deleted: trunk/packages/mriconvert/trunk/debian/mcverter.1
===================================================================
--- trunk/packages/mriconvert/trunk/debian/mcverter.1	2011-10-07 02:13:13 UTC (rev 8102)
+++ trunk/packages/mriconvert/trunk/debian/mcverter.1	2011-10-07 02:59:45 UTC (rev 8103)
@@ -1,100 +0,0 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.38.2.
-.TH USAGE: "1" "March 2011" "Usage: mcverter -o <str> -f <str> [-x] [-d] [-a] [-n] [-b] [-u] [-s <num>] [-m <str>] [-v] [-i] [-h] Input directory or file(s)..." "User Commands"
-.SH NAME
-Usage: \- manual page for Usage: mcverter -o <str> -f <str> [-x] [-d] [-a] [-n] [-b] [-u] [-s <num>] [-m <str>] [-v] [-i] [-h] Input directory or file(s)...
-.SH SYNOPSIS
-.B mcverter
-\fI-o <str> -f <str> \fR[\fI-x\fR] [\fI-d\fR] [\fI-a\fR] [\fI-n\fR] [\fI-b\fR] [\fI-u\fR] [\fI-s <num>\fR] [\fI-m <str>\fR] [\fI-v\fR] [\fI-i\fR] [\fI-h\fR] \fIInput directory or file(s)\fR...
-.SH DESCRIPTION
-.TP
-\fB\-o\fR, \fB\-\-output=\fR<str>
-Output directory for converted files
-.TP
-\fB\-f\fR, \fB\-\-format=\fR<str>
-Output format:fsl, spm, meta, nifti, analyze, or bv
-.TP
-\fB\-x\fR
-Save each series to a separate directory
-.TP
-\fB\-d\fR
-Save output volumes as 4D files
-.TP
-\fB\-a\fR
-Save header only (metaimage only)
-.TP
-\fB\-n\fR
-Save files as .nii (nifti/fsl only)
-.TP
-\fB\-b\fR
-Save .v16 files (BrainVoyager only)
-.TP
-\fB\-u\fR
-Use patient id instead of patient name for output file
-.TP
-\fB\-s\fR, \fB\-\-skip=\fR<num>
-Skip first n volumes
-.TP
-\fB\-m\fR, \fB\-\-match=\fR<str>
-Only convert files whose series descriptions include this string
-.TP
-\fB\-v\fR
-Verbose mode
-.TP
-\fB\-i\fR
-Version info
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-Display help
-.TP
-\fB\-o\fR, \fB\-\-output=\fR<str>
-Output directory for converted files
-.TP
-\fB\-f\fR, \fB\-\-format=\fR<str>
-Output format:fsl, spm, meta, nifti, analyze, or bv
-.TP
-\fB\-x\fR
-Save each series to a separate directory
-.TP
-\fB\-d\fR
-Save output volumes as 4D files
-.TP
-\fB\-a\fR
-Save header only (metaimage only)
-.TP
-\fB\-n\fR
-Save files as .nii (nifti/fsl only)
-.TP
-\fB\-b\fR
-Save .v16 files (BrainVoyager only)
-.TP
-\fB\-u\fR
-Use patient id instead of patient name for output file
-.TP
-\fB\-s\fR, \fB\-\-skip=\fR<num>
-Skip first n volumes
-.TP
-\fB\-m\fR, \fB\-\-match=\fR<str>
-Only convert files whose series descriptions include this string
-.TP
-\fB\-v\fR
-Verbose mode
-.TP
-\fB\-i\fR
-Version info
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-Display help
-.PP
-Unknown long option 'version'
-.SH "SEE ALSO"
-The full documentation for
-.B Usage:
-is maintained as a Texinfo manual.  If the
-.B info
-and
-.B Usage:
-programs are properly installed at your site, the command
-.IP
-.B info Usage:
-.PP
-should give you access to the complete manual.

Modified: trunk/packages/mriconvert/trunk/debian/rules
===================================================================
--- trunk/packages/mriconvert/trunk/debian/rules	2011-10-07 02:13:13 UTC (rev 8102)
+++ trunk/packages/mriconvert/trunk/debian/rules	2011-10-07 02:59:45 UTC (rev 8103)
@@ -3,12 +3,18 @@
 DPKG_EXPORT_BUILDFLAGS = 1
 -include /usr/share/dpkg/buildflags.mk
 
+VERSION = 2.0.17
+
+
 %:
 	dh $@ --with quilt --parallel
 
 override_dh_install:
 	dh_install */release/mcverter */release/MRIConvert usr/bin
-	dh_installman debian/mcverter.1
 
+override_dh_installman:
+	help2man -n 'non-interactive MRI conversion software' --version-string $VERSION --no-discard-stderr obj-x86_64-linux-gnu/release/mcverter > mcverter.1
+	dh_installman mcverter.1 debian/MRIConvert.1
+
 get-orig-source:
 	./debian/get-orig-source




More information about the debian-med-commit mailing list