~ubuntu-branches/debian/sid/libcommons-el-java/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2003-07-01 17:04:27 UTC
  • Revision ID: james.westby@ubuntu.com-20030701170427-w267etxb23wu4zj7
Tags: 1.0-1
Initial Release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
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>
 
6
 
 
7
#
 
8
# Build commons-el
 
9
#
 
10
 
 
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
 
14
 
 
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
 
20
 
 
21
# Additional options to pass to the Java virtual machine
 
22
#ANT_OPTS := -verify *
 
23
 
 
24
# Additional command-line arguments for Ant
 
25
#ANT_ARGS := -verbose
 
26
 
 
27
LIBRARY_PACKAGE := commons-el
 
28
API_VERSION     := 1.0
 
29
 
 
30
configure/lib$(LIBRARY_PACKAGE)-java::
 
31
        -mkdir -p target/classes
 
32
        -mkdir dist
 
33
 
 
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
 
37
 
 
38
clean::
 
39
        -rm -r target dist
 
40