3 autogen_target
=${autogen_target:-normal}
5 # a nautilus-actions-x.y may remain after an aborted make distcheck
6 # such a directory breaks gnome-autogen.sh generation
8 for d
in $
(find .
-maxdepth 1 -type d
-name 'nautilus-actions-*'); do
13 [ "${autogen_target}" = "normal" ] &&
15 --prefix=$
(pwd)/install \
17 --with-nautilus-extdir=$
(pwd)/install
/lib
/nautilus \
18 --disable-schemas-install \
20 --enable-gtk-doc-pdf \
21 --disable-scrollkeeper \
22 --enable-html-manuals \
23 --enable-pdf-manuals \
26 # Build with Gtk+ 3 (actually a 2.97.x unstable version)
27 # installed in ~/.local/jhbuild
29 # Note that building with Gtk 3.0 not only requires that we have a
30 # Gtk+ 3 available library, but also that all our required libraries
31 # only depend of Gtk+ 3.0. In our case, we have:
32 # $ grep gtk+-2.0 /usr/lib/pkgconfig/*
33 # libnautilus-extension.pc:Requires: glib-2.0 gio-2.0 gtk+-2.0
34 # unique-1.0.pc:Requires: gtk+-2.0
36 [ "${autogen_target}" = "jhbuild" ] &&
37 export autogen_prefix
=${HOME}/.local
/jhbuild
&&
38 PKG_CONFIG_PATH
=${autogen_prefix}/lib
/pkgconfig \
39 LD_LIBRARY_PATH
=${autogen_prefix}/lib \
41 --prefix=${autogen_prefix} \
43 --with-nautilus-extdir=${autogen_prefix}/lib
/nautilus \
44 --disable-schemas-install \