File: rules

package info (click to toggle)
libhttp-nio-java 0.1.0-rc1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 372 kB
  • sloc: java: 2,127; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# DH_VERBOSE := 1
include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --with javahelper,maven_repo_helper

override_dh_auto_clean:
	dh_auto_clean
	# Cleaning the custom pom file
	-rm debian/pom.xml

override_dh_auto_configure:
	# Putting the version number in the custom pom
	sed 's/\(VERSION_PACKAGE\)/\1$(DEB_VERSION_UPSTREAM)/; s/VERSION_PACKAGE\(.*\)+dfsg[0-9]*/\1/' debian/pom.xml.in > debian/pom.xml
	dh_auto_configure