File: rules

package info (click to toggle)
jshash 2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 168 kB
  • sloc: javascript: 1,370; python: 66; makefile: 5
file content (9 lines) | stat: -rwxr-xr-x 182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

debian/%.min.js: %.js
	yui-compressor $< -o $@

override_dh_auto_build: $(patsubst %,debian/%.min.js,$(filter-out %-min,$(basename $(wildcard *.js))))

%:
	dh $@