File: rules

package info (click to toggle)
msgpack-java 0.8.22-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,180 kB
  • sloc: java: 11,813; sh: 492; xml: 285; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 640 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
#!/usr/bin/make -f

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

MSGPACK_MAVEN_DIR = debian/maven-repo/org/msgpack/msgpack-core/debian

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure
	mkdir --parents ${MSGPACK_MAVEN_DIR}
	test -e ${MSGPACK_MAVEN_DIR}/msgpack-core-debian.pom || \
		ln -s ../../../../../../msgpack-core/pom.xml \
		${MSGPACK_MAVEN_DIR}/msgpack-core-debian.pom
	test -e ${MSGPACK_MAVEN_DIR}/msgpack-core-debian.jar || \
		ln -s ../../../../../../msgpack-core/target/msgpack-core-$(DEB_VERSION_UPSTREAM).jar \
		${MSGPACK_MAVEN_DIR}/msgpack-core-debian.jar

override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/maven-repo