spiegel-keyman/linux/keyman-config/debian/rules
Eberhard Beilharz 55125650fd
feat(linux): Package localizations
This change adds the localization files to the debian package. It
also updates the path to the localization files so that the installed
files will be found.
2020-08-24 19:31:18 +02:00

19 lines
483 B
Makefile
Executable file

#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=keyman-config
export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/keyman-config/
%:
dh $@ --with python3 --buildsystem=pybuild --with bash-completion
override_dh_auto_build:
make man
make compile-po
dh_auto_build $@
override_dh_auto_install:
install -d $(CURDIR)/debian/keyman/usr/share/
cp -r locale/ $(CURDIR)/debian/keyman/usr/share/
rm $(CURDIR)/debian/keyman/usr/share/locale/*.po*
dh_auto_install $@