#!/usr/bin/make -f

%:
	dh $@

# install.sh cd's into --dest, so the path has to be absolute. It also runs
# gtk-update-icon-cache on each theme; the cache is dh_icons' job.
override_dh_auto_install:
	./install.sh --dest $(CURDIR)/debian/whitesur-icon-theme/usr/share/icons --theme default
	find debian/whitesur-icon-theme/usr/share/icons -name icon-theme.cache -delete
