32 lines
811 B
Makefile
Executable File
32 lines
811 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export PYBUILD_DISABLE_python2=1
|
|
export PYBUILD_INSTALL_DIR=usr/share/subiquity/
|
|
export PYBUILD_INSTALL_ARGS_python3=--install-lib=usr/share/subiquity/ \
|
|
--install-data=usr/ \
|
|
--no-compile -O0
|
|
export PYBUILD_DESTDIR=debian/tmp/
|
|
export PYBUILD_OPTION="-v"
|
|
|
|
%:
|
|
dh $@ --with python3,systemd --buildsystem=pybuild
|
|
|
|
override_dh_auto_clean:
|
|
rm -f .subiquity/subiquity-debug.log installer/geninstaller.log
|
|
rm -rf probert/
|
|
dh_auto_clean
|
|
|
|
override_dh_install:
|
|
rm -rf $(PYBUILD_DESTDIR)usr/share/subiquity/subiquity-0.0.5.egg-info
|
|
dh_install --fail-missing
|
|
|
|
override_dh_python3:
|
|
dh_python3 --ignore-shebangs
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start --name=console-conf@
|
|
dh_installinit --no-start --name=serial-console-conf@
|
|
|
|
override_dh_auto_test:
|
|
@echo "No tests."
|