File: rules

package info (click to toggle)
doublecmd-help 1.1.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,672 kB
  • sloc: makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

override_dh_install:
	dh_install
	find $(CURDIR)/debian/doublecmd-help-*/ -name '*.html' -o -name '*.css' | \
		xargs fromdos ;
	find $(CURDIR)/debian/doublecmd-help-*/ \( -name '*.html' -o -name '*.css' \) -exec \
		sed -i -e "s/..\/..\/pixmaps\/common/images/g" '{}' \;
	find $(CURDIR)/debian/doublecmd-help-*/ -name '*.html' -exec \
		sed -i -z -e "s/<div class=\"checker\">.*valid-html40.*<\/div>//g" '{}' \;
	find $(CURDIR)/debian/doublecmd-help-*/ -name '*.png' | \
		xargs optipng ;