File: rules

package info (click to toggle)
libjs-mousetrap 1.6.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 160 kB
  • sloc: makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 612 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	yui-compressor -o mousetrap.min.js mousetrap.js
	yui-compressor -o plugins/bind-dictionary/mousetrap-bind-dictionary.min.js plugins/bind-dictionary/mousetrap-bind-dictionary.js
	yui-compressor -o plugins/global-bind/mousetrap-global-bind.min.js plugins/global-bind/mousetrap-global-bind.js
	yui-compressor -o plugins/pause/mousetrap-pause.min.js plugins/pause/mousetrap-pause.js
	yui-compressor -o plugins/record/mousetrap-record.min.js plugins/record/mousetrap-record.js

override_dh_auto_clean:
	dh_clean
	rm -f mousetrap.min.js
	rm -f plugins/*/*.min.js