#!/usr/bin/make -f

EXTENSION_ID := quotecolors@thunderbird-mail.de

%:
	dh ${@}

override_dh_auto_install:
	mkdir -p debian/webext-quote-colors/usr/share/webext/quote-colors
	cp -a _locales icons manifest.json options scripts debian/webext-quote-colors/usr/share/webext/quote-colors

execute_before_dh_link:
	mkdir -p debian/webext-quote-colors/usr/lib/thunderbird/extensions
	ln -s /usr/share/webext/quote-colors debian/webext-quote-colors/usr/lib/thunderbird/extensions/${EXTENSION_ID}
