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