| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
MSGPACK_MAVEN_DIR = debian/maven-repo/org/msgpack/msgpack-core/debian |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ |
| 9 |
|
| 10 |
execute_after_dh_auto_configure: |
| 11 |
mkdir --parents ${MSGPACK_MAVEN_DIR} |
| 12 |
test -e ${MSGPACK_MAVEN_DIR}/msgpack-core-debian.pom || \ |
| 13 |
ln -s ../../../../../../msgpack-core/pom.xml \ |
| 14 |
${MSGPACK_MAVEN_DIR}/msgpack-core-debian.pom |
| 15 |
test -e ${MSGPACK_MAVEN_DIR}/msgpack-core-debian.jar || \ |
| 16 |
ln -s ../../../../../../msgpack-core/target/msgpack-core-$(DEB_VERSION_UPSTREAM).jar \ |
| 17 |
${MSGPACK_MAVEN_DIR}/msgpack-core-debian.jar |
| 18 |
|
| 19 |
execute_after_dh_auto_clean: |
| 20 |
rm -rf debian/maven-repo |