File: rules

package info (click to toggle)
strophejs 1.0.1.dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 924 kB
  • ctags: 249
  • sloc: python: 174; makefile: 11; xml: 6
file content (14 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	yui-compressor strophe.js -o strophe.min.js
	for file in plugins/*; do \
		name=$${file%.js}; \
		yui-compressor $$name.js -o $$name.min.js; \
	done

override_dh_auto_clean:
	rm -f strophe.min.js
	rm -f plugins/*.min.js