use more of javahelper
[debian/freetts] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 export JAVA_HOME=/usr/lib/jvm/default-java
13 #export CLASSPATH=
14
15 %:
16         dh  $@
17 #       dh  $@ --with javahelper
18
19 override_dh_auto_build:
20         ln -sf . src
21         ant debian
22
23 override_dh_auto_clean:
24         dh_auto_clean
25         rm -f src
26
27 override_dh_auto_install:
28         jh_installlibs deploy/*.jar
29         jh_installjavadoc javadoc
30 #       printf '#!/bin/sh\njava -jar /usr/share/java/%s\n' \
31 #               "`/bin/ls build/jar`" > \
32 #               `pwd`/debian/openrocket/usr/bin/openrocket
33
34 #override_dh_installman:
35 #       dh_installman debian/openrocket.1
36