Skip to content

Commit 9e871c2

Browse files
committed
first install and then try to make manpage and hardcode paths to python installed version for now
1 parent 47313e7 commit 9e871c2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

debian/rules

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ export PYBUILD_NAME = heudiconv
1818
dh $@ --buildsystem=pybuild
1919

2020
override_dh_auto_install:
21-
mkdir -p build
22-
help2man -n 'DICOM converter for organizing brain imaging data into structured directory layouts' \
23-
-N --no-discard-stderr bin/heudiconv > build/heudiconv.1
2421
dh_auto_install
22+
mkdir -p build
23+
PYTHONPATH=./debian/heudiconv/usr/lib/python2.7/dist-packages \
24+
help2man -n 'DICOM converter for organizing brain imaging data into structured directory layouts' \
25+
-N --no-discard-stderr \
26+
./debian/heudiconv/usr/bin/heudiconv >| build/heudiconv.1
2527

2628
clean::
2729
dh_clean

0 commit comments

Comments
 (0)