qt: make docs, demos and examples optionnaly available

As the only option before was to don't include them at all.
This commit is contained in:
bbenoist 2013-05-31 23:42:44 +02:00 committed by Vladimír Čunát
parent de100cb899
commit 0c6e22adba

View File

@ -10,6 +10,9 @@
, flashplayerFix ? false, gdk_pixbuf
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
, developerBuild ? false
, docs ? false
, examples ? false
, demos ? false
}:
with stdenv.lib;
@ -72,7 +75,9 @@ stdenv.mkDerivation rec {
-exceptions -xmlpatterns
-make libs -make tools -make translations
-nomake demos -nomake examples -nomake docs
-${if demos then "" else "no"}make demos
-${if examples then "" else "no"}make examples
-${if docs then "" else "no"}make docs
-no-phonon ${if buildWebkit then "" else "-no"}-webkit ${if buildMultimedia then "" else "-no"}-multimedia -audio-backend
${if developerBuild then "-developer-build" else ""}