new buildsystem merged into master
Linus Torvalds
torvalds at linux-foundation.org
Wed Oct 9 15:39:00 UTC 2013
On Wed, Oct 9, 2013 at 12:20 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> Also let us know if things don't work with qmake.
Ugh. The libdivecomputer situation is a disaster. I thought you made
it use a static link, but apparently somebody stopped you from doing
the sane thing.
Please turn it back into a static link, and tell the distro
maintainers that they are f*cking crazy if they want dynamic linking
of essentially unversioned libraries that are only used by a single
application. They can go off and be crazy on their own, please don't
make upstream be buggy due to their mindless blathering.
But the lack of a default makefile is also very annoying. I don't have
"qmake", for example, on F19 it's called "qmake-qt4". And we used to
detect that automatically, now we don't.
Can we please do something like this, and put it in a Makefile:
-include Makefile.generated
QMAKE = $(shell { qmake -query QT_VERSION >/dev/null 2>&1 && echo
qmake; } || \
{ qmake-qt4 -v >/dev/null 2>&1 && echo qmake-qt4; })
Makefile.generated:
$(QMAKE) -o $@
and then you can just do "make" to make the makefile. Because Yo Dawg.
And because qmake is a UI disaster.
Linus
More information about the subsurface
mailing list