#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: mv locale/hidetopbar.pot debian/hidetopbar.pot-backup dh_auto_build mv debian/hidetopbar.pot-backup locale/hidetopbar.pot 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