~ubuntu-branches/ubuntu/precise/commons-httpclient/precise-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2009-05-07 19:27:19 UTC
  • mfrom: (4.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090507192719-3lyqlx8qdqfm3z7a
Tags: 3.1-3
* Convert to default-jdk/jre (Closes: #508949)
* Bump Standards-Version to 3.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# debian/rules for libcommons-httpclient-java (uses CDBS)
3
3
 
4
 
# Uncomment this to turn on verbose mode.
5
 
#export DH_VERBOSE=1
6
 
 
7
4
include /usr/share/cdbs/1/rules/debhelper.mk
8
5
include /usr/share/cdbs/1/class/ant.mk
9
6
include /usr/share/cdbs/1/rules/simple-patchsys.mk
20
17
        dh_install dist/${LIBRARY}-${DEB_UPSTREAM_VERSION}.jar usr/share/java
21
18
        dh_link /usr/share/java/${LIBRARY}-$(DEB_UPSTREAM_VERSION).jar \
22
19
          /usr/share/java/${LIBRARY}.jar
23
 
 
24
 
#debian/ssl-stub/ssl-stub.jar:
25
 
#       # OK, we need the JSSE for this to compile.  But we can't
26
 
#       # redistribute JSSE, and can't require it for the build.  So
27
 
#       # this is a workaround, creating stub classes for this compilation.
28
 
#       (cd debian/ssl-stub; $(ANT))
29
 
 
30
 
#install/lib${LIBRARY}-java::
31
 
#       # Add here commands to install the package into debian/commons-httpclient.
32
 
#       ${JAVA_HOME}/bin/jar cf \
33
 
#               $(CURDIR)/debian/lib${LIBRARY}-java/usr/share/java/${JARFILE} \
34
 
#               -C target/classes org
35
 
#
36
 
#       # Build the documentation
37
 
#       mkdir -p $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
38
 
#       cp -aRf dist/docs/api $(CURDIR)/debian/lib${PNAME}-java-doc/usr/share/doc/lib${PNAME}-java-doc/
39
 
#
40
 
#       dh_movefiles --sourcedir=debian/lib${PNAME}-java
41
 
 
42