2020-02-07 10:47:59 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# Uncomment this to turn on verbose mode.
|
2023-05-03 10:25:44 +02:00
|
|
|
export DH_VERBOSE=1
|
2020-02-07 10:47:59 +01:00
|
|
|
|
2020-02-07 13:37:52 +01:00
|
|
|
export PYBUILD_NAME=osc
|
2020-02-07 10:47:59 +01:00
|
|
|
|
2020-02-07 13:37:52 +01:00
|
|
|
%:
|
|
|
|
dh $@ --with python3 --buildsystem=pybuild
|
2020-02-07 10:47:59 +01:00
|
|
|
|
2023-05-03 10:25:44 +02:00
|
|
|
override_dh_auto_build:
|
|
|
|
dh_auto_build
|
|
|
|
PYTHONPATH=. argparse-manpage \
|
|
|
|
--output=osc.1 \
|
|
|
|
--module=osc.commandline \
|
|
|
|
--function=get_parser \
|
|
|
|
--project-name=osc \
|
|
|
|
--author="Contributors to the osc project. See the project's GIT history for the complete list." \
|
|
|
|
--url="https://github.com/openSUSE/osc/"
|
|
|
|
|
2020-02-07 13:37:52 +01:00
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install
|
2023-05-03 10:25:44 +02:00
|
|
|
install -Dm0644 contrib/complete.csh debian/osc/etc/profile.d/osc.csh
|
|
|
|
install -Dm0644 contrib/complete.sh debian/osc/etc/bash_completion.d/osc.sh
|
|
|
|
install -Dm0755 contrib/osc.complete debian/osc/usr/lib/osc/complete
|
2022-05-31 09:07:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
echo "skipping test"
|