File: rules

package info (click to toggle)
libjs-jsxc 3.4.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 18,704 kB
  • sloc: javascript: 68,510; makefile: 13; sh: 1
file content (20 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

%:
	dh $@

override_dh_auto_build:
	cd build;\
	uglifyjs -o jsxc.min.js jsxc.js;\
	uglifyjs -o lib/jsxc.dep.min.js lib/jsxc.dep.js;\
	uglifyjs -o lib/otr/build/otr.min.js lib/otr/build/otr.js;\
	cd ..

override_dh_auto_clean:
	dh_auto_clean
	cd build;\
	rm -f jsxc.min.js lib/jsxc.dep.min.js lib/otr/build/otr.min.js;\
	cd ..