On Sat, Jul 17, 2010 at 11:31:04AM +0200, Adrian Knoth wrote:
On Fri, Jul 16, 2010 at 11:50:11PM +0200, Jonas Smedegaard wrote:

+post-patches::
+    autoreconf -fi

Beware that above only ensures the autoreconf rule gets invoked after post-patches, not that it gets invoked before other later rules, which most likely you should ensure too.

This is where dh-autoreconf places it. Unfortunately, the tool doesn't work as described, it still leaves the usual autotools files in a changed state after the clean rule.

You don't want to use dh-autoreconf together with CDBS, I suspect. That one smells like short-form debhelper 7 which clashes with CDBS.

JFTR, from the description of dh-autoreconf:

For CDBS users, a rule is provided to call the dh-autoreconf programs at the right time.

The rule itself is pretty simple:

$ cat /usr/share/cdbs/1/rules/autoreconf.mk
# autoreconf.mk - dh-autoreconf integration for CDBS.

post-patches::
       dh_autoreconf $(DEB_DH_AUTORECONF_ARGS)

clean::
       dh_autoreconf_clean $(DEB_DH_AUTORECONF_CLEAN_ARGS)


But, as I said before, it doesn't work nicely. Could still be me, though. ;)

Thanks for enlightening me of support for CDBS with debhelper tools.

I am still reluctant to let debhelper take over all areas of packaging, but that possibly is just me being an old, stubborn, conservative fart.


 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to