Trouble with building packages in F16: "The moc has changed too much"

Richard Hughes hughsient at gmail.com
Mon Aug 1 18:08:12 UTC 2011


On 1 August 2011 15:24, Jaroslav Reznik <jreznik at redhat.com> wrote:
> It's not very good idea to ship pre-generated moc files, better to
> autogenerate them during the build-time. PackageKit is using automake,
> so it's a little bit more difficult but possible, check for example [1].

Right, I *think* I'm doing the right thing in
https://gitorious.org/packagekit/packagekit/blobs/master/lib/packagekit-qt/src/Makefile.am
with the only difference being that I'm shipping the moc files in the
tarball. Can I just nuke the moc files in the fedora spec file, and
they'll get regenerated at build time? Or should I remove MOCFILES
from EXTRA_DIST?

Thanks for your help,

Richard.


More information about the devel mailing list