File: rules

package info (click to toggle)
jssip 0.6.34-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 904 kB
  • ctags: 560
  • sloc: makefile: 26
file content (20 lines) | stat: -rwxr-xr-x 681 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

%:
	dh $@ --builddirectory=.

override_dh_auto_build:
	# force rebuild of the Grammar:
	-rm lib/Grammar.js
	# using a manually constructed JVM command line for
	# closure-compiler due to Debian bug 705565:
	#make MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner"
	# using closure-compiler as a binary (after bug 705565 is fixed):
	make MINIFY_GCC=closure-compiler dist/jssip.min.js
	#mv dist/jssip-*.min.js dist/jssip.min.js
	#mv dist/jssip-*.js dist/jssip.js

# no make install support
override_dh_auto_install:
	true