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:
parent
de100cb899
commit
0c6e22adba
@ -10,6 +10,9 @@
|
|||||||
, flashplayerFix ? false, gdk_pixbuf
|
, flashplayerFix ? false, gdk_pixbuf
|
||||||
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
|
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
|
||||||
, developerBuild ? false
|
, developerBuild ? false
|
||||||
|
, docs ? false
|
||||||
|
, examples ? false
|
||||||
|
, demos ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -72,7 +75,9 @@ stdenv.mkDerivation rec {
|
|||||||
-exceptions -xmlpatterns
|
-exceptions -xmlpatterns
|
||||||
|
|
||||||
-make libs -make tools -make translations
|
-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
|
-no-phonon ${if buildWebkit then "" else "-no"}-webkit ${if buildMultimedia then "" else "-no"}-multimedia -audio-backend
|
||||||
${if developerBuild then "-developer-build" else ""}
|
${if developerBuild then "-developer-build" else ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user