Re: The quilt / maven-helper dance
Le 25/11/2017 à 13:35, Emmanuel Bourg a écrit :
> Is it possible to get mh_unpatchpoms to run before quilt unpatch in the
> --after-build step? That would solve the issue.
I modified maven-debian-helper to call mh_unpatchpom at the end of the
install phase and it seems to work for a normal build:
--- a/share/perl/maven.pm
+++ b/share/perl/maven.pm
@@ -119,6 +119,9 @@ sub install {
# clean up generated docs
$this->doit_in_builddir("bash", "-c", "rm -f target/apidocs/*.sh target/apidocs/options");
}
+
+ $this->doit_in_sourcedir("mh_unpatchpoms", "-p$this->{package}");
+ doit("rm", "-f", "debian/stamp-poms-patched");
}
sub clean {
I haven't tested with debuild -A / -B though.
Emmanuel Bourg
Reply to: