File: rules

package info (click to toggle)
yui-compressor 2.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,864 kB
  • sloc: java: 45,114; sh: 81; xml: 56; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 620 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk

DEB_COMPRESS_EXCLUDE := .class
JAVA_HOME       := /usr/lib/jvm/default-java

DEB_JARS := jargs
DEB_ANT_BUILD_TARGET := build.jar
DEB_CLEAN_BUILD_TARGET := clean
DEB_DH_INSTALLCHANGELOGS_ARGS := doc/CHANGELOG

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

install/yui-compressor::
	# Launch tests
	(cd tests; bash ./suite.sh)
	# Rename JAR file
	cp build/yuicompressor-${VERSION}.jar build/yui-compressor.jar

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