File: rules

package info (click to toggle)
libpal-java 1.5.1%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,620 kB
  • sloc: java: 45,723; makefile: 121; xml: 36
file content (18 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ --with javahelper

override_dh_auto_clean:
	cd src; ant clean

override_dh_auto_build:
	ant -buildfile src/build.xml -propertyfile debian/ant.properties
	ant -buildfile src/build.xml -propertyfile debian/ant.properties doc

# fix broken doc-base creation - somehow the autogenereated doc-base prepends /debian/pkgname in front of the doc file
override_dh_installdocs:
	dh_installdocs
	sed -i 's?/debian/[^/]\+/usr?/usr?' `find debian -name doc-base -type d`/*