PDA

View Full Version : moc-files in tarball



roxton
24th July 2008, 11:21
On "make dist" there are all "moc-" files are included to the tarball. Is there any way to avoid that?

jpn
24th July 2008, 11:47
make distclean?

roxton
24th July 2008, 12:57
After "make distclean", the "make dist" doesn't work.
Why I want to remove moc-files? Actually, I can do that manually, and then manully pack a new tarball. Moc-files in the source tarball can cause building errors when someone try to build my program on another machine.
The simple example - my program has an optional dependency on libAspell. OpenBSD has no port for Aspell (as I was reported by OpenBSD-user). But, moc-files on my Linux Mandriva were been generated with Aspell-support and includes references to Aspell-enabled stuff. For sure, the source contains all needed "indefs" to the optional ASpell/no Aspell building, but moc-files does not rerfesh when user unpack the tarball and trying to compile the program by simple qmake, make install.

jpn
24th July 2008, 13:29
Sorry, I meant "make clean" which keeps makefiles but removes intermediate files.

roxton
24th July 2008, 14:11
The result is the same - is seems that "make dist" wants "moc_" and "qrc_" files and refuses to make a tarballs.