File: rules

package info (click to toggle)
jquery-mobile 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,856 kB
  • sloc: php: 98; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
%:
	dh $@

override_dh_auto_build:
	for file in `ls *.js`; do \
		yui-compressor $$file -o $${file%.js}.min.js; \
	done
	for file in `ls *.css`; do \
		yui-compressor $$file -o $${file%.css}.min.css; \
	done

override_dh_installdocs:
	dh_installdocs
	# extra-license-file
	rm -f debian/libjs-jquery-mobile-docs/usr/share/doc/libjs-jquery-mobile-docs/demos/docs/toolbars/glyphish-icons/Read\ me\ first\ -\ license.txt

override_dh_auto_clean:
	rm -f *.min.*