~ubuntu-branches/ubuntu/trusty/jcsp/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Miguel Landaeta
  • Date: 2013-09-05 18:43:46 UTC
  • Revision ID: package-import@ubuntu.com-20130905184346-a6fa478o2b46dgbn
Tags: 1.1-rc4-2
* Provide Maven artifacts. (Closes: #721950).
* Bump Standards-Version to 3.9.4. No changes were required.
* Update Vcs-* URLs.
* Update copyright file.
* Update watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
3
export JAVA_HOME=/usr/lib/jvm/default-java
 
4
UPSTREAM_VERSION := $(shell dpkg-parsechangelog  | sed -n '/^Version:/s/^[^:]*: \(.*\)-.*$$/\1/p')
4
5
 
5
6
%:
6
7
        dh --with javahelper $@
8
9
override_dh_auto_clean:
9
10
        dh_auto_clean
10
11
        -rm -rf dist
 
12
        mh_clean
 
13
 
 
14
override_dh_install:
 
15
        mh_installpom -plibjcsp-java debian/pom.xml
 
16
        mh_installjar -plibjcsp-java -l debian/pom.xml dist/jcsp-*/jcsp.jar
 
17
        jh_installlibs  --upstream-version=${UPSTREAM_VERSION} dist/jcsp-*/jcsp-core.jar
 
18
        dh_install
11
19
 
12
20
override_dh_compress:
13
21
        dh_compress -X.java