File: rules

package info (click to toggle)
jquery-i18n-properties 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,740 kB
  • ctags: 24
  • sloc: python: 16; makefile: 9
file content (20 lines) | stat: -rwxr-xr-x 602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

INPUT_FILE = jquery.i18n.properties.js
OUTPUT_FILE = jquery.i18n.properties-min.js

MINIFY_GCC=closure-compiler
# using a manually constructed JVM command line for
# closure-compiler due to Debian bug 705565:
#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"

%:
	dh $@ --builddirectory=.

override_dh_auto_build:
	$(MINIFY_GCC) --js ${INPUT_FILE} --js_output_file ${OUTPUT_FILE}

# no make install support
override_dh_auto_install:
	true