File: rules

package info (click to toggle)
opticalraytracer 9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,184 kB
  • sloc: java: 12,654; makefile: 10; sh: 1
file content (15 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	mkdir -p target/classes
	javac -source 7 -target 7 -encoding UTF-8 -d target/classes `find . -name '*.java'`
	cd src && find . -type f -not -name '*.java' -exec install -D {} ../target/classes/{} \;
	jar -cfm target/opticalraytracer-$(DEB_VERSION_UPSTREAM).jar MANIFEST.mf -C target/classes .

override_dh_auto_clean:
	rm -Rf target