File: rules

package info (click to toggle)
msgpack-java 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,212 kB
  • sloc: java: 12,554; xml: 284; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

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

%:
	dh $@

execute_after_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

execute_after_dh_auto_clean:
	rm -rf debian/maven-repo