File: rules

package info (click to toggle)
jpathwatch 0.95-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,340 kB
  • sloc: xml: 4,312; java: 4,119; cpp: 1,446; sh: 1,052; makefile: 61
file content (31 lines) | stat: -rwxr-xr-x 827 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
#!/usr/bin/make -f

%:
	dh $@ --with javahelper,jh_maven_repo_helper

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 debian/jpathwatch.jar jpathwatch.jar

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

override_dh_clean:
	dh_clean
	$(RM) debian/jpathwatch.jar

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

get-orig-pom:
	wget -O debian/pom.xml https://repo1.maven.org/maven2/net/sf/jpathwatch/jpathwatch/0.95/jpathwatch-0.95.pom