On "make dist" there are all "moc-" files are included to the tarball. Is there any way to avoid that?
Printable View
On "make dist" there are all "moc-" files are included to the tarball. Is there any way to avoid that?
make distclean?
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.
Sorry, I meant "make clean" which keeps makefiles but removes intermediate files.
The result is the same - is seems that "make dist" wants "moc_" and "qrc_" files and refuses to make a tarballs.