debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | include /usr/share/dpkg/pkg-info.mk |
| 5 | |
| 6 | %: |
| 7 | dh $@ --with javahelper,maven_repo_helper |
| 8 | |
| 9 | override_dh_auto_clean: |
| 10 | dh_auto_clean |
| 11 | # Cleaning the custom pom file |
| 12 | -rm debian/pom.xml |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | # Putting the version number in the custom pom |
| 16 | sed 's/\(VERSION_PACKAGE\)/\1$(DEB_VERSION_UPSTREAM)/; s/VERSION_PACKAGE\(.*\)+dfsg[0-9]*/\1/' debian/pom.xml.in > debian/pom.xml |
| 17 | dh_auto_configure |