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 \
16 --with-nautilus-extdir=$
(pwd)/install
/lib
/nautilus \
17 --disable-schemas-install \
19 --enable-gtk-doc-pdf \
20 --disable-scrollkeeper \
21 --enable-html-manuals \
22 --enable-pdf-manuals \
25 # Build with Gtk+ 3 (actually a 2.97.x unstable version)
26 # installed in ~/.local/jhbuild
28 # Note that building with Gtk 3.0 not only requires that we have a
29 # Gtk+ 3 available library, but also that all our required libraries
30 # only depend of Gtk+ 3.0. In our case, we have:
31 # $ grep gtk+-2.0 /usr/lib/pkgconfig/*
32 # libnautilus-extension.pc:Requires: glib-2.0 gio-2.0 gtk+-2.0
33 # unique-1.0.pc:Requires: gtk+-2.0
35 [ "${autogen_target}" = "jhbuild" ] &&
36 export autogen_prefix
=${HOME}/.local
/jhbuild
&&
37 PKG_CONFIG_PATH
=${autogen_prefix}/lib
/pkgconfig \
38 LD_LIBRARY_PATH
=${autogen_prefix}/lib \
40 --prefix=${autogen_prefix} \
41 --with-nautilus-extdir=${autogen_prefix}/lib
/nautilus \
42 --enable-silent-rules \
43 --disable-schemas-install \