File: rules

package info (click to toggle)
tcode 0.1.20080918-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 440 kB
  • sloc: perl: 831; xml: 84; sh: 37; csh: 16; makefile: 13
file content (25 lines) | stat: -rwxr-xr-x 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

#The following prevents
#  W: tcode: incompatible-java-bytecode-format Java7 version (Class format: 51)
#See https://lists.debian.org/debian-java/2014/04/msg00117.html
export JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh $@ 

override_dh_auto_clean:
	ant cleanbuild cleanlib cleandoc
	rm -f *.pdf *.java

override_dh_auto_build:
	ant lib -propertyfile debian/ant.properties
	ant doc -propertyfile debian/ant.properties
	test -e tcode.pdf

override_dh_fixperms:
	dh_fixperms
	chmod a+x debian/*/usr/share/tcode/*.pl