File debian.rules of Package roundcubemail-skin-now-larry

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

%:
	dh $@

override_dh_install:
	mkdir -p $(CURDIR)/debian/roundcubemail-skin-now-larry/usr/share/roundcubemail/skins/now-larry/
	cp -av /usr/share/roundcubemail/skins/chameleon/* \
		$(CURDIR)/debian/roundcubemail-skin-now-larry/usr/share/roundcubemail/skins/now-larry/.
	dh_install
	mkdir -p $(CURDIR)/debian/roundcubemail-skin-now-larry/usr/share/roundcubemail/assets/skins/
	cp -a $(CURDIR)/debian/roundcubemail-skin-now-larry/usr/share/roundcubemail/skins/now-larry/ \
		$(CURDIR)/debian/roundcubemail-skin-now-larry/usr/share/roundcubemail/assets/skins/now-larry/
	for file in $$(find $(CURDIR)/debian/roundcubemail-skin-now-larry/share/roundcubemail/skins/now-larry -type f -name "*.less" ! -name "colors.less"); do \
		lessc -x $${file} > $$(dirname $${file})/$$(basename $${file} .less).css ; \
	done