Only GConf writing operations are marked deprecated
[nautilus-actions.git] / run-autogen.sh
blob2e6b1b1c7ea7cbff158ab923ff008e21d27c4528
1 #!/bin/sh
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
7 # so clean it here
8 for d in $(find . -maxdepth 1 -type d -name 'nautilus-actions-*'); do
9 chmod -R u+w $d
10 rm -fr $d
11 done
13 [ "${autogen_target}" = "normal" ] &&
14 exec ./autogen.sh \
15 --prefix=$(pwd)/install \
16 --sysconfdir=/etc \
17 --with-nautilus-extdir=$(pwd)/install/lib/nautilus \
18 --disable-schemas-install \
19 --enable-gtk-doc \
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 \
40 exec ./autogen.sh \
41 --prefix=${autogen_prefix} \
42 --sysconfdir=/etc \
43 --with-nautilus-extdir=${autogen_prefix}/lib/nautilus \
44 --disable-schemas-install \