File: rules

package info (click to toggle)
node-mousetrap 1.6.5~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 288 kB
  • sloc: javascript: 1,220; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	uglifyjs -o mousetrap.min.js mousetrap.js
	for i in `ls plugins/*/*.js`; do \
		( \
			cd `dirname $$i`; \
			i=`basename $$i`; \
			uglifyjs -o $${i%%.js}.min.js $$i \
		); \
	done