~ubuntu-branches/ubuntu/precise/libhibernate-jbosscache-java/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Brian Thomason, by sponsor Steffen Moeller
  • Date: 2011-12-26 00:23:47 UTC
  • mfrom: (1.1.1)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20111226002347-r481ylr1w2dwdo1q
* First upload to Debian.
[ by sponsor Steffen Moeller ]
* Added Brian to uploaders and set DMUA flag
* Merged changes from 3.3.2.GA-1 to 3.3.2.GA-2  with Brian's work
* Omitted ".Final" from version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
export JAVA_HOME=/usr/lib/jvm/default-java
4
4
export CLASSPATH=$(shell for jar in `cat debian/classpath`; do echo -n "$${jar}:"; done)
 
5
export DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog |grep Version|awk -F": " '{print $$2}'|sed -e 's/-.*//')
5
6
 
6
7
%:
7
8
        dh --with javahelper $@
8
9
 
9
10
override_jh_build:
10
 
        jh_build hibernate-jbosscache.jar src/main
 
11
        jh_build --javacopts="-source 1.5 -target 1.5" --javadoc-opts="-source 1.5" \
 
12
                hibernate-jbosscache.jar src/main
11
13
 
12
14
get-orig-source:
13
15
        cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
16
18
                --no-symlink \
17
19
                --destdir $(CURDIR)      \
18
20
                --watchfile debian/watch \
19
 
                --force-download
 
21
                --force-download \
 
22
                --debug \
 
23
                --download-version $(DEB_UPSTREAM_VERSION) \
 
24
                --rename
 
25
 
 
26