File: rules

package info (click to toggle)
liboptimization-java 0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 428 kB
  • ctags: 108
  • sloc: java: 3,302; makefile: 13
file content (24 lines) | stat: -rwxr-xr-x 687 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
#!/usr/bin/make -f

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

%:
	dh $@ --with javahelper

override_dh_auto_clean:
	rm -f *.class *.jar
	rm -rf optimization

override_dh_auto_build:
	mkdir -p optimization
	cp *.java optimization/
	jh_build optimization.jar optimization
	rm optimization/*.java

get-orig-source:
	wget --output-document=../src.tar.Z ftp://www1.fpl.fs.fed.us/pub/optim/src.tar.Z
	# Hint: dealing with .Z compression needs a patch for devscripts
	# If you want to recreate the source you probably need to manually deal with this
	# Additional note: The ftpdownload seems to be broken most of the time
	mk-origtargz --repack --compress xz ../src.tar.Z