File: rules

package info (click to toggle)
jquery-typeahead.js 2.11.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,028 kB
  • sloc: javascript: 7,564; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	mkdir build
	cp src/jquery.typeahead.js build
	(cd build && uglifyjs -o jquery.typeahead.min.js jquery.typeahead.js)
	(cd build && pyscss -o jquery.typeahead.min.css ../src/jquery.typeahead.scss)
	(cd build && pyscss -C -o jquery.typeahead.css ../src/jquery.typeahead.scss)

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build