PPA recipe on launchpad to run autoreconf

Asked by Nicolas Bock

I would like to use the launchpad autobuild process. My sources use autotools, and I need to run autoreconf before I can run configure and make. How do I add this command to the recipe?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

You generally do this in your debian/rules file rather than in the recipe configuration itself. Assuming this is lp:~nicolasbock/freeon/master, I would advise build-depending on dh-autoreconf and using "dh $@ --with=autoreconf" in your debian/rules file instead of just "dh $@". I see that you have an autogen.sh which you may want to use; see the dh-autoreconf(7) manual page for advice on this. You may need other fixups, but this is normally a good place to start from.

(Please note that when using dh you ought to declare Build-Depends: debhelper, too.)

Can you help with this problem?

Provide an answer of your own, or ask Nicolas Bock for more information if necessary.

To post a message you must log in.