[fiona] 09/09: build manfile during build

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Wed Oct 29 23:09:48 UTC 2014


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

johanvdw-guest pushed a commit to branch master
in repository fiona.

commit 64a500583492131c1f4cd6e0b03c2918d7446e18
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Wed Oct 29 22:35:29 2014 +0100

    build manfile during build
    
    fix build manfile
---
 debian/fiona.1 | 51 ---------------------------------------------------
 debian/rules   |  6 ++----
 2 files changed, 2 insertions(+), 55 deletions(-)

diff --git a/debian/fiona.1 b/debian/fiona.1
deleted file mode 100644
index 6b9169a..0000000
--- a/debian/fiona.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
-.TH FIONA "1" "October 2014" "fiona 1.4.6" "User Commands"
-.SH NAME
-fiona \- manual page for fiona 1.4.6
-.SH SYNOPSIS
-.B fiona
-[\fI\,OPTIONS\/\fR] \fI\,COMMAND \/\fR[\fI\,ARGS\/\fR]...
-.SH DESCRIPTION
-.IP
-Fiona command line interface.
-.SH OPTIONS
-.TP
-\fB\-v\fR, \fB\-\-verbose\fR
-Increase verbosity.
-.TP
-\fB\-q\fR, \fB\-\-quiet\fR
-Decrease verbosity.
-.TP
-\fB\-\-version\fR
-Print Fiona version.
-.TP
-\fB\-\-help\fR
-Show this message and exit.
-.SS "Commands:"
-.TP
-bounds
-Print the extent of GeoJSON objects
-.TP
-cat
-Concatenate and print the features of datasets
-.TP
-collect
-Collect a sequence of features.
-.TP
-distrib
-Distribute features from a collection
-.TP
-dump
-Dump a dataset to GeoJSON.
-.TP
-env
-Print information about the fio environment.
-.TP
-info
-Print information about a dataset.
-.TP
-insp
-Open a dataset and start an interpreter.
-.TP
-load
-Load GeoJSON to a dataset in another format.
diff --git a/debian/rules b/debian/rules
index 573832e..dc6744a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,9 @@ export PYBUILD_NAME=fiona
 
 override_dh_clean:
 	dh_clean
-	rm -rf fiona/*.so docs/data/test_uk.json docs/data/test_uk.tar docs/data/test_uk.zip gdal-config.txt fiona/*.c VERSION.txt fiona/*.cpp
+	rm -rf fiona/*.so docs/data/test_uk.json docs/data/test_uk.tar docs/data/test_uk.zip gdal-config.txt fiona/*.c VERSION.txt fiona/*.cpp debian/fiona.1
 
 override_dh_install:
 	dh_install
 	rm -rf debian/python-fiona/usr/bin
-
-debian/fiona.1:
-	help2man fiona -N >debian/fiona.1
+	PYTHONPATH=./debian/python-fiona/usr/lib/python2.7/dist-packages help2man ./debian/python-fiona-bin/usr/bin/fiona -N >debian/fiona.1

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



More information about the Pkg-grass-devel mailing list