File: rules

package info (click to toggle)
jscropperui 1.2.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 344 kB
  • sloc: javascript: 588; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

%:
	dh ${@}

override_dh_auto_build:
	yui-compressor cropper.uncompressed.js -o cropper.min.js;
	sed -i s'#../cropper.js#/usr/share/javascript/cropper/cropper.js#' tests/*.htm
	sed -i s'#https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js#/usr/share/javascript/prototype/prototype.js#' tests/*.htm
	sed -i s'#https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js#/usr/share/javascript/scriptaculous/scriptaculous.js#' tests/*.htm

override_dh_auto_clean:
	rm -f *.min.js