File: rules

package info (click to toggle)
darkmint-gtk-theme 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,004 kB
  • sloc: xml: 524; makefile: 14
file content (17 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@

override_dh_install:
	dh_install -i
	cd debian/darkmint-gtk-theme/usr/share/themes/DarkMint/;	\
	md5sum `find -iname '*.png'|grep gtk`|sort -t/ -k3|		\
	while read H F;							\
	  do								\
	    if [ "x$$H" = "x$$OH" ];					\
	      then ln -srf "$$OF" "$$F";				\
	      else OH="$$H"; OF="$$F";					\
	    fi;								\
	  done; \
	find -type f -execdir chmod a-x '{}' +