#!/usr/bin/make -f %: dh $@ # Choosing a default icon theme is required for Numix to show up in # MATE's theme picker (mate-appearance-properties) # But Ubuntu Developers don't want to install numix-icon-theme by default. # For instance, Xubuntu wants to include numix-gtk-theme by default, but # not be forced to install the theme. execute_after_dh_auto_install: ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) sed -i s/IconTheme=Numix/IconTheme=Adwaita/ \ debian/numix-gtk-theme/usr/share/themes/Numix/index.theme endif rm -rf debian/numix-gtk-theme/usr/share/themes/*/gtk-2.0 override_dh_gencontrol: ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) dh_gencontrol -- -Vicon-theme:Depends='adwaita-icon-theme' else dh_gencontrol -- -Vicon-theme:Depends='numix-icon-theme' endif