#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 %: dh $@ # move aside .po and .pot files (see bug#1044151) execute_after_dh_auto_clean: [ ! -d locale.save ] || (rm -r locale && mv --force locale.save/ locale) execute_before_dh_auto_configure: cp -ar locale/ locale.save override_dh_install: # Installing translations for mo in $$(cd locale; ls */*/*.mo); do \ lang=$$(dirname $$mo); \ mkdir -p debian/gnome-shell-extension-autohidetopbar/usr/share/locale/$$lang; \ cp locale/$$mo debian/gnome-shell-extension-autohidetopbar/usr/share/locale/$$lang/; \ done dh_install override_dh_installdocs: dh_installdocs -X README.md