[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813813: RFS: msi-keyboard -- command line tool to change MSI steelseries keyboards color setup



* Mattia Rizzolo <mattia@debian.org>, 2016-03-19, 12:37:
PATH="`pwd`":"$PATH" help2man msi-keyboard --no-info --name="MSI steelseries keyboard color changer" > debian/msi-keyboard.1
help2man: can't get `--help' info from msi-keyboard
Try `--no-discard-stderr' if option outputs to stderr
debian/rules:12: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/msi-keyboard-1.0'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package


I wonder why not just use `help2man ./msi-keyboard ...` instead of messing around with PATH

Fiddling with PATH often necessary when the --help output depends on argv[0], which seems to be the case here.

(which is probably what went wrong here).

Nope. The culprit is that debian/rules tries generating the manpage before building the executable.

--
Jakub Wilk


Reply to: