let's use ant for what it's good for?
[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  $@ --with javahelper
17
18 override_dh_auto_build:
19         ln -sf . src
20         ant all
21         ant javadoc
22
23 #override_dh_auto_install:
24 #       cp deploy/*.jar `pwd`/debian/freetts/usr/share/java/
25 #       printf '#!/bin/sh\njava -jar /usr/share/java/%s\n' \
26 #               "`/bin/ls build/jar`" > \
27 #               `pwd`/debian/openrocket/usr/bin/openrocket
28
29 #override_dh_installman:
30 #       dh_installman debian/openrocket.1
31