/[pkg-java]/trunk/trident/debian/rules
ViewVC logotype

Contents of /trunk/trident/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13231 - (show annotations) (download)
Tue Jan 18 21:20:17 2011 UTC (2 years, 5 months ago) by rockclimb-guest
File size: 740 byte(s)
Updated debian/rules
1 #!/usr/bin/make -f
2
3 # Get definition of $(DEB_SRCDIR)
4 include /usr/share/cdbs/1/rules/buildvars.mk
5
6 JAVA_HOME=/usr/lib/jvm/default-java
7 export CLASSPATH=/usr/share/java/swt.jar
8 export JH_JAR_EXTRA=META-INF/trident-plugin.properties
9
10
11 %:
12 dh $@ --with javahelper
13
14
15 # Don't use the packages own build system.
16 override_dh_auto_build::
17
18 # Link META-INF. Changing JH_JAR_EXTRA above instead results in the
19 # files being in the wrong place in the resulting jar.
20 override_jh_build:
21 ln -s $(DEB_SRCDIR)/src/META-INF $(DEB_SRCDIR)/META-INF
22 jh_build
23
24
25 # Clean up our symlink
26 override_dh_clean:
27 rm -f $(DEB_SRCDIR)/META-INF
28 dh_clean
29
30
31 get-orig-source:
32 uscan --download-version $(subst +dfsg,,$(DEB_UPSTREAM_VERSION)) --force-download --rename
33

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5