File: rules

package info (click to toggle)
jpathwatch 0.95-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,336 kB
  • ctags: 1,961
  • sloc: xml: 4,273; java: 4,119; cpp: 1,446; sh: 1,052; makefile: 56
file content (24 lines) | stat: -rwxr-xr-x 614 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

%:
	dh $@ --with javahelper

override_dh_auto_build:
	# build JNI library
	$(MAKE) -C jpathwatch-native/src -f ../../debian/Makefile.jni

override_jh_build:
	jh_build
	# generate OSGi metadata
	bnd wrap -properties debian/jpathwatch.bnd -output jpathwatch.jar jpathwatch.jar

override_dh_auto_clean:
	$(MAKE) -C jpathwatch-native/src -f ../../debian/Makefile.jni clean

override_dh_install-arch:
	dh_install -plibjpathwatch-java-jni jpathwatch-native/src/libjpathwatch-native.so \
		/usr/lib/$(DEB_HOST_MULTIARCH)/jni
	dh_install -a --remaining-packages

get-orig-source:
	debian/fetch-orig.sh