6
#override_dh_auto_install:
8
# for d in $$(find $(CURDIR)/debian/elementary-icon-theme/usr/share/icons -mindepth 2 -maxdepth 2 -type d) ; do \
9
# (cd $$d; for c in *; do /usr/lib/icon-naming-utils/icon-name-mapping -c $$c; done); \
11
# # Make lintian happy by not installing extra copyright files.
12
# find . -name "COPYING" -delete
13
# # Delete empty directories
14
# find -type d -empty -delete
15
# # Make sure svg files aren't executable.
16
# find . -type f -executable -iname '*.svg' -exec chmod a-x '{}' ';'
18
#override_dh_builddeb:
21
# Updates the PNG conversion of our theme
22
# Needs git, gcc, gtk+-2.0, libxfce4ui-1, gdk-pixbuf-2.0, librsvg2-common
23
#update-elementary-icons:
26
make -C $(CURDIR)/debian/svgtopng
29
(cd $(CURDIR)/debian/svgtopng && mkdir wip && cp pngtheme.sh svgtopng ./wip)
31
mkdir -p $(CURDIR)/debian/elementary-xfce-icon-theme/usr/share/icons/
32
for d in elementary-xfce-darker elementary-xfce-dark elementary-xfce; do \
35
cp -a $(CURDIR)/$$d $(CURDIR)/debian/svgtopng/wip && \
36
#make -C $(CURDIR)/debian/svgtopng convert ICONDIR=wip/$$d && \
37
(cd $(CURDIR)/debian/svgtopng/wip && ./pngtheme.sh $$d) && \
39
rm -rf $(CURDIR)/debian/elementary-xfce-icon-theme/usr/share/icons/$$d && \
40
rm -f $(CURDIR)/debian/svgtopng/wip/$$d/LICENSE && \
41
cp -a $(CURDIR)/debian/svgtopng/wip/$$d $(CURDIR)/debian/elementary-xfce-icon-theme/usr/share/icons/. ; \
43
cp -a $(CURDIR)/debian/svgtopng/wip $(CURDIR)/debian/svgtopng/wip.bak
44
rm -rf $(CURDIR)/debian/svgtopng/wip
45
#make -C $(CURDIR)/debian/svgtopng clean