2
# -*- mode: makefile; coding: utf-8 -*-
3
# Copyright © 2005 Arnaud Vandyck <avdyk@debian.org>
4
# based on the work of Stefan Gybas:
5
# Copyright © 2003 Stefan Gybas <sgybas@debian.org>
11
include /usr/share/cdbs/1/rules/debhelper.mk
12
include /usr/share/cdbs/1/class/ant.mk
13
include /usr/share/cdbs/1/rules/simple-patchsys.mk
15
JAVA_HOME := /usr/lib/kaffe
16
ANT_HOME := /usr/share/ant1.6
17
DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar servlet-api jsp-api junit
18
DEB_ANT_COMPILER := jikes
19
DEB_ANT_BUILD_TARGET := jar-only javadoc
21
# Additional options to pass to the Java virtual machine
22
#ANT_OPTS := -verify *
24
# Additional command-line arguments for Ant
27
LIBRARY_PACKAGE := commons-el
30
configure/lib$(LIBRARY_PACKAGE)-java::
31
-mkdir -p target/classes
34
install/lib$(LIBRARY_PACKAGE)-java::
35
install -m 644 dist/$(LIBRARY_PACKAGE).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
36
ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE).jar