File: rules

package info (click to toggle)
yui-compressor 2.4.8-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,720 kB
  • sloc: java: 45,217; javascript: 13,001; sh: 81; xml: 68; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 379 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

LIBRARY=yui-compressor
VERSION=2.4.8
RHINO_VERSION=1.7R2-4

%:
	dh $@

override_dh_auto_test:
	# Launch tests
	(cd tests; bash ./suite.sh)

override_dh_auto_install:
	# Rename JAR file
	cp build/yuicompressor-${VERSION}.jar build/yui-compressor.jar
	dh_auto_install

get-orig-source:
	debian/fetch-upstream ${VERSION} ${DEB_UPSTREAM_VERSION} ${RHINO_VERSION}