Running a command before source package build
I'd like to build a package off a git repository without a control file, or more specifically, generate the control file before the source package is generated.
In sbuild terms, I'd like to run a script such as `cd %b; debian/rules control` via --chroot-
Is something like this supported at all?
Alternatives exist, but I'm not keen on using those. Essentially, I could manually make sure that the control file is always up-to-date on a different branch and use that for building on Launchpad, but that means a lot of additional overhead (since every push to a build branch would need a merge to the launchpad build branch as well).
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mihai Moldovan for more information if necessary.