Commit 857a90c2 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

autotools: kill it

We’re moving to Meson this cycle, so this is losing some deadweight.

https://bugzilla.gnome.org/show_bug.cgi?id=780366
parent 033378c4
Nautilus 3.0 version by:
Cosimo Cecchi <cosimoc@gnome.org>
Alex Larsson <alexl@redhat.com>
Christian Neumair <cneumair@gnome.org>
A. Walton <awalton@gnome.org>
Tomas Bzatek <tbzatek@redhat.com>
Nautilus 2.22 version by:
Martin Wehner <martin.wehner@gmail.com>
Alex Larsson <alexl@redhat.com
Christian Neumair <cneumair@gnome.org>
Cosimo Cecchi <cosimoc@gnome.org>
David Zeuthen <davidz@redhat.com>
Nautilus 2.4 version by:
Alex Larsson <alexl@redhat.com>
Dave Camp <dave@ximian.com>
Soren Sandmann <sandmann@daimi.au.dk>
Jürg Billeter <j@bitron.ch>
Nautilus 2.2 version by:
Alex Larsson <alexl@redhat.com>
Dave Camp <dave@ximian.com>
James Willcox <jwillcox@gnome.org>
Jan Arne Petersen <jpetersen@uni-bonn.de>
Mark McLoughlin <mark@skynet.ie>
Gnome 2 conversion by:
Darin Adler <darin@bentspoon.com>
Anders Carlsson <andersca@gnu.org>
Michael Meeks <michael@ximian.com>
Alex Larsson <alexl@redhat.com>
Jacob Berkman <jacob@ximian.com>
*** need to decide who else to add here ***
Original version by the Nautilus 1.0 team:
Ali Abdin <aliabdin@aucegypt.edu>
Andy Hertzfeld <andy@differnet.com>
Arlo Rose <arlo@eazel.com>
Darin Adler <darin@bentspoon.com>
Eli Goldberg <eli@eazel.com>
Elliot Lee <sopwith@redhat.com>
Eskil Heyn Olsen <eskil@eazel.com>
Ettore Perazzoli <ettore@ximian.com>
Gene Z. Ragan <gzr@eazel.com>
George Lebl <jirka@5z.com>
Ian McKellar <ian@eazel.com>
John Harper <jsh@pixelslut.com>
John Sullivan <sullivan@eazel.com>
Josh Barrow <drleary@mac.com>
J Shane Culpepper <pepper@eazel.com>
Maciej Stachowiak <mjs@noisehavoc.org>
Mathieu Lacage <mathieu@eazel.com>
Mike Engber <engber@eazel.com>
Mike Fleming <mfleming@eazel.com>
Pavel Cisler <pavel@eazel.com>
Ramiro Estrugo <ramiro@fateware.com>
Raph Levien <raph@acm.org>
Rebecca Schulman <rebecka@eazel.com>
Robey Pointer <robey@eazel.com>
Robin * Slomkowski <rslomkow@eazel.com>
Seth Nickell <snickell@stanford.edu>
Susan Kare <susan@eazel.com>
Nautilus extensions link against the libnautilus-extenstions library which is
is under the LGPL license. However, they also get loaded into the main
nautilus program which is licensed under the GPL. So, extensions should not
be incompatible with the LGPL or GPL.
Some extensions are GPL but use some IPC mechanism like dbus to talk to a
potentially non-GPL application. This is actually not such a bad design in
general if your extension is doing a lot of work, as running as a nautilus
extension with all its issues (no synchronous i/o, can't control of the
context your code runs in, etc) can be kind of a pain.
This diff is collapsed.
Hacking on Nautilus
-------------------
The Nautilus source tree is available from GNOME git (git.gnome.org) and
in releases on the GNOME FTP site
(http://ftp.gnome.org/pub/GNOME/sources/nautilus/).
If you plan to hack on Nautilus, please make sure you work from the
Git version. The Git version can be checked from the GNOME git server.
See http://wiki.gnome.org/Git for details on how to get started with
GNOME Git. For details on how Nautilus uses git, see the README.commits
file.
If you want to contribute in development discussions, please send mail
to the nautilus mailing list: <nautilus-list@gnome.org>. Archives and
subscription information are available at
http://mail.gnome.org/mailman/listinfo/nautilus-list
Submitting Patches
------------------
If you've been working on a change to Nautilus and want to propose it
for inclusion, you have to generate a patch and submit it for review
by the maintainers.
Patches should be made with 'git format-patch -M'
and should conform to Nautilus coding style as described in
docs/style-guide.html. We are pretty strict about coding style, so
please make sure you follow the style guide to avoid unnecessary
work on both sides when reviewing the patch.
The best way to submit a patch for review is to post it on the mailing
list. That way everyone sees it and can take part in the following
discussion about it. Sometimes people also attach patches to bugs in
bugzilla (http://bugzilla.gnome.org, product 'nautilus'). If you do
this, please send a mail to the list saying you did so, because it is
very easy for the bugzilla email to get lost in all the bugzilla
reports, and only the people CCd on the bug can partake in the
discussion. When attaching bugs to bugzilla from git the git-bz
command can be helpful, see:
http://blog.fishsoup.net/2008/11/16/git-bz-bugzilla-subcommand-for-git/
The Nautilus maintainers do their best to review patches and help
developers that want to work on something, however we are often
swamped in work and can miss an email or just forget to answer
it. Don't be afraid of reposting your patches after a while, or poking
us about the status of them.
Also, if you're planning to do large changes, please take them up for
discussion on the list first. If you get feedback early it is much
easier to integrate it into your work.
If your patch adds non-trivial strings, please ask for a string review
from the i18n team before committing the changes. Strings should avoid
contractions, and stay consistent with other strings already in Nautilus.
Please reuse strings within Nautilus where it makes sense to do so.
Alex Larsson
E-mail: alexl@redhat.com
Userid: alexl
Martin Wehner
E-mail: martin.wehner@gmail.com
Userid: mwehner
Christian Neumair
E-mail: cneumair@gnome.org
Userid: cneumair
Andrew Walton
E-mail: awalton@gnome.org
Userid: awalton
Cosimo Cecchi
E-mail: cosimoc@gnome.org
Userid: cosimoc
== Former or inactive maintainers ==
Dave Camp
E-mail: dave@novell.com
Userid: campd
include $(top_srcdir)/Makefile.shared
DIRS = \
eel \
libnautilus-extension \
libgd \
src \
test \
data \
po \
docs \
$(NULL)
if ENABLE_DESKTOP
DIRS += nautilus-desktop
endif
DIST_SUBDIRS = $(DIRS) nautilus-sendto-extension
SUBDIRS = $(DIRS)
if ENABLE_NST_EXTENSION
SUBDIRS += nautilus-sendto-extension
endif
EXTRA_DIST= \
COPYING.LIB \
COPYING.EXTENSIONS \
HACKING \
MAINTAINERS \
README.commits \
Makefile.shared \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb --enable-gtk-doc
ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS}
Nautilus is part of the GNOME git repository. At the current time, any
person with write access to the GNOME repository, can make changes to
Nautilus. This is a good thing, in that it encourages many people to work
on Nautilus, and progress can be made quickly. However, we'd like to ask
people committing to Nautilus to follow a few rules:
0) Ask first. If your changes are major, or could possibly break existing
code, you should always ask. If your change is minor and you've
been working on Nautilus for a while it probably isn't necessary
to ask. But when in doubt, ask. Even if your change is correct,
somebody may know a better way to do things.
If you are making changes to Nautilus, you should be subscribed
to nautilus-list@gnome.org. (Subscription address:
nautilus-list-request@gnome.org.) This is a good place to ask
about intended changes.
#nautilus on GIMPNet (irc.gimp.org, irc.us.gimp.org, irc.eu.gimp.org, ...)
is also a good place to find Nautilus developers to discuss changes with.
1) Ask _first_.
2) With git, we no longer maintain a ChangeLog file, but you are expected
to produce a meaningful commit message. Changes without a sufficient
commit message will be reverted. See below for the expected format
of commit messages.
3) Try to separate each change into multiple small commits that are
independent ("micro commits" in git speak). This way its easier to
see what each change does, making it easier to review, to cherry pick
to other branches, to revert, and to bisect.
Notes:
* When developing larger features or complicated bug fixes, it is
advisable to work in a branch in your own cloned Nautilus repository.
You may even consider making your repository publically available
so that others can easily test and review your changes.
* The expected format for git commit messages is as follows:
=== begin example commit ===
Short explanation of the commit
Longer explanation explaining exactly what's changed, whether any
external or private interfaces changed, what bugs were fixed (with bug
tracker reference if applicable) and so forth. Be concise but not too brief.
=== end example commit ===
- Always add a brief description of the commit to the _first_ line of
the commit and terminate by two newlines (it will work without the
second newline, but that is not nice for the interfaces).
- First line (the brief description) must only be one sentence and
should start with a capital letter unless it starts with a lowercase
symbol or identifier. Don't use a trailing period either. Don't exceed
72 characters.
- The main description (the body) is normal prose and should use normal
punctuation and capital letters where appropriate. Normally, for patches
sent to a mailing list it's copied from there.
- When committing code on behalf of others use the --author option, e.g.
git commit -a --author "Joe Coder <joe@coder.org>" and --signoff.
Alexander Larsson
17 Apr 2009
This diff is collapsed.
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdir=.
olddir=$(pwd)
cd $srcdir
(test -f configure.ac) || {
echo "*** ERROR: Directory '$srcdir' does not look like the top-level project directory ***"
exit 1
}
git submodule update --init --recursive
# shellcheck disable=SC2016
PKG_NAME=$(autoconf --trace 'AC_INIT:$1' configure.ac)
if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
echo "*** WARNING: I am going to run 'configure' with no arguments." >&2
echo "*** If you wish to pass any to it, please specify them on the" >&2
echo "*** '$0' command line." >&2
echo "" >&2
fi
mkdir -p m4
gtkdocize --copy || exit 1
autoreconf --verbose --force --install || exit 1
cd "$olddir"
if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1
if [ "$1" = "--help" ]; then exit 0 else
echo "Now type 'make' to compile $PKG_NAME" || exit 1
fi
else
echo "Skipping configure process."
fi
AC_PREREQ(2.60)
dnl ===========================================================================
m4_define(glib_minver, 2.51.2)
m4_define(gnome_desktop_minver, 3.0.0)
m4_define(pango_minver, 1.28.3)
m4_define(gtk_minver, 3.21.6)
m4_define(xml_minver, 2.7.8)
m4_define(exif_minver, 0.6.20)
m4_define(exempi_minver, 2.1.0)
m4_define(notify_minver, 0.7.0)
m4_define(schemas_minver, 3.8.0)
m4_define(autoar_minver, 0.2.1)
dnl 1. If the library code has changed at all since last release, then increment revision.
dnl 2. If any interfaces have been added, then increment current and set revision to 0.
dnl Interface break is not allowed.
m4_define(nautilus_extension_current, 5)
m4_define(nautilus_extension_revision, 0)
AC_INIT([nautilus],[3.24.0],[http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus])
dnl ===========================================================================
AC_CONFIG_SRCDIR(src)
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE([enable])
dnl We need to decrement current by one in the calculation of the age because
dnl the library was started with version "1:0:0" instead of "0:0:0"
AC_SUBST(NAUTILUS_EXTENSION_VERSION_INFO, [nautilus_extension_current]:[nautilus_extension_revision]:`expr [nautilus_extension_current] - 1`)
AC_C_BIGENDIAN
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
AC_CHECK_LIB(m, floor)
dnl ==========================================================================
GETTEXT_PACKAGE=nautilus
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
[the gettext translation domain])
AM_GNU_GETTEXT_VERSION([0.19.7])
AM_GNU_GETTEXT([external])
GLIB_GSETTINGS
dnl ==========================================================================
AX_REQUIRE_DEFINED([GTK_DOC_CHECK])
GTK_DOC_CHECK([1.10],[--flavour no-tmpl])
dnl ==========================================================================
dnl Enable Profiling
AC_ARG_ENABLE(profiling,
[AS_HELP_STRING([--enable-profiling],
[turn on profiling])],
, enable_profiling=yes)
if test "x$enable_profiling" = "xyes"; then
AC_DEFINE(ENABLE_PROFILING,1,[enable profiling])
fi
dnl ==========================================================================
AC_CHECK_PROGS(PERL, perl5 perl)
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
dnl ==========================================================================
dnl Check whether to build the nautilus-sendto extension
AC_ARG_ENABLE(nst_extension,
AS_HELP_STRING([--disable-nst-extension],
[build without nautilus-sendto extension]))
if test "x$enable_nst_extension" != "xno"; then
enable_nst_extension=yes
fi
AM_CONDITIONAL(ENABLE_NST_EXTENSION, test "x$enable_nst_extension" != "xno")
dnl ==========================================================================
AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/param.h malloc.h)
AC_CHECK_FUNCS(mallopt)
dnl ==========================================================================
dnl libexif checking
AC_ARG_ENABLE(libexif,
[AS_HELP_STRING([--enable-libexif=@<:@yes/no@:>@],
[build EXIF support [default=yes]])],
[enable_exif="$enableval"],
[enable_exif=yes])
if test "x$enable_exif" != "xno"; then
PKG_CHECK_MODULES(EXIF, libexif >= exif_minver)
AC_DEFINE(HAVE_EXIF, 1, [Define to enable EXIF support])
fi
AM_CONDITIONAL(HAVE_EXIF, test "x$enable_exif" = "xyes")
dnl ==========================================================================
dnl exempi checking
AC_ARG_ENABLE(xmp,
[AS_HELP_STRING([--enable-xmp=@<:@yes/no@:>@],
[build XMP support [default=yes]])],
[enable_xmp="$enableval"],
[enable_xmp=yes])
if test "x$enable_xmp" != "xno"; then
PKG_CHECK_MODULES(EXEMPI, exempi-2.0 >= exempi_minver)
AC_DEFINE(HAVE_EXEMPI, 1, [Define to enable XMP support])
fi
AM_CONDITIONAL(HAVE_EXEMPI, test "x$enable_xmp" = "xyes")
dnl ==========================================================================
dnl ****************************
dnl *** Check for libselinux ***
dnl ****************************
msg_selinux=no
AC_ARG_ENABLE([selinux],
[AS_HELP_STRING([--enable-selinux],
[Enable selinux support])])
AS_IF([test "$enable_selinux" != "no"],
[PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.0],
[
AC_DEFINE([HAVE_SELINUX], [1], [Define to 1 if libselinux is available])
msg_selinux=yes
])
])
dnl ==========================================================================
dnl *********************************
dnl *** Check for desktop support ***
dnl *********************************
AC_ARG_ENABLE(desktop,
[AS_HELP_STRING([--enable-desktop=@<:@yes/no@:>@],
[build desktop support [default=yes]])],
[enable_desktop="$enableval"],
[enable_desktop=yes])
if test "x$enable_desktop" != "xno"; then
AC_DEFINE(ENABLE_DESKTOP, 1, [Define to enable the desktop support])
fi
AM_CONDITIONAL(ENABLE_DESKTOP, test "x$enable_desktop" = "xyes")
dnl ==========================================================================
AC_ARG_ENABLE(packagekit,
AS_HELP_STRING([--disable-packagekit],
[build without PackageKit support]))
msg_packagekit=no
if test "x$enable_packagekit" != "xno"; then
msg_packagekit=yes
AC_DEFINE(ENABLE_PACKAGEKIT, 1, [define to enable PackageKit mimetype installer])
fi
dnl ==========================================================================
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
WARNING_CFLAGS=""
AC_ARG_ENABLE(more-warnings,
AS_HELP_STRING([--enable-more-warnings],[Maximum compiler warnings]),
set_more_warnings="$enableval",[
if test -d $srcdir/.git; then
is_cvs_version=true
set_more_warnings=yes
else
set_more_warnings=no
fi
])
AC_MSG_CHECKING(for more warnings, including -Werror)
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
AC_MSG_RESULT(yes)
WARNING_CFLAGS="\
-Wall \
-Wmissing-declarations -Wmissing-prototypes \
-Wnested-externs -Wpointer-arith \
-Wcast-align "
for option in -Wstrict-aliasing=0 -Wno-pointer-sign; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
[has_option=yes],
[has_option=no])
if test $has_option = yes; then
WARNING_CFLAGS="$WARNING_CFLAGS $option"
fi
AC_MSG_RESULT($has_option)
CFLAGS="$SAVE_CFLAGS"
unset has_option
unset SAVE_CFLAGS
done
unset option
else
AC_MSG_RESULT(no)
fi
AC_SUBST(WARNING_CFLAGS)
dnl ===========================================================================
dnl Check for Tracker
dnl ===========================================================================
AC_ARG_ENABLE(tracker,
[AS_HELP_STRING([--enable-tracker=@<:@yes/no@:>@],
[build Tracker builtin support [default=yes]])],
[enable_tracker="$enableval"],
[enable_tracker=yes])
if test "x$enable_tracker" != "xno"; then
PKG_CHECK_MODULES([TRACKER], [tracker-sparql-1.0])
AC_DEFINE(ENABLE_TRACKER, 1, [Define to enable Tracker support])
fi
AM_CONDITIONAL(ENABLE_TRACKER, test "x$enable_tracker" = "xyes")
dnl ==========================================================================
dnl base libs
PKG_CHECK_MODULES(BASE, [
gtk+-3.0 >= gtk_minver
glib-2.0 >= glib_minver
gnome-autoar-0 >= autoar_minver
])
dnl common libs (eel, nautilus)
PKG_CHECK_MODULES(COMMON, [
gail-3.0
gnome-desktop-3.0 >= gnome_desktop_minver
libxml-2.0 >= xml_minver
x11
])
dnl additional nautilus libs
PKG_CHECK_MODULES(NAUTILUS, [
gthread-2.0 >= glib_minver
gmodule-no-export-2.0 >= glib_minver
gio-2.0 >= glib_minver
gio-unix-2.0 >= glib_minver
gsettings-desktop-schemas >= schemas_minver
])
dnl Multimedia keys
AC_CHECK_HEADERS([X11/XF86keysym.h])
##################################################
# Check for introspection
##################################################
m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
[GOBJECT_INTROSPECTION_CHECK([0.6.4])],
[AM_CONDITIONAL(HAVE_INTROSPECTION, false)])
dnl ==========================================================================
AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
AC_ARG_ENABLE(update-mimedb,
AS_HELP_STRING([--disable-update-mimedb],
[disable the update-mime-database after install [default=no]]),,
enable_update_mimedb=yes)
AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
LIBGD_INIT([
gtk-hacks
notification
static
_view-common
tagged-entry
])
AC_CONFIG_FILES([
Makefile
data/Makefile
data/icons/Makefile
docs/Makefile
docs/reference/Makefile
docs/reference/libnautilus-extension/Makefile
docs/reference/libnautilus-extension/version.xml
eel/Makefile
libnautilus-extension/Makefile
libnautilus-extension/libnautilus-extension.pc
libnautilus-extension/libnautilus-extension-uninstalled.pc
libgd/Makefile
po/Makefile.in
src/Makefile
nautilus-desktop/Makefile
nautilus-sendto-extension/Makefile
test/Makefile
])
AC_OUTPUT
dnl ==========================================================================
echo "
nautilus-$VERSION:
prefix: ${prefix}
source code location: ${srcdir}
compiler: ${CC}
libexif support: ${enable_exif}
libexempi support: ${enable_xmp}
PackageKit support: $msg_packagekit
nautilus-sendto ext: $enable_nst_extension
Tracker support: $enable_tracker
desktop support: $enable_desktop
profiling support: ${enable_profiling}
nautilus-extension documentation: ${enable_gtk_doc}
nautilus-extension introspection: ${found_introspection}
"
include $(top_srcdir)/Makefile.shared
SUBDIRS = icons
AM_CPPFLAGS= \
$(COMMON_CFLAGS) \
$(NULL)
noinst_PROGRAMS= \
lineup-parameters \
$(NULL)
lineup_parameters_SOURCES= \
lineup-parameters.c \
$(NULL)
lineup_parameters_LDADD= \
$(CORE_LIBS) \
$(COMMON_LIBS) \
$(NULL)
desktopdir = $(datadir)/applications
desktop_in_files = \
org.gnome.Nautilus.desktop.in \
nautilus-autorun-software.desktop.in
autostart_in_files = nautilus-autostart.desktop.in
if ENABLE_DESKTOP
desktop_in_files += nautilus-classic.desktop.in
autostartdir = $(sysconfdir)/xdg/autostart
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
$(autostart_DATA): $(autostart_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
endif
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
$(desktop_DATA): %.desktop: %.desktop.in
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
appdatadir = $(datadir)/appdata
appdata_in_files = org.gnome.Nautilus.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
$(appdata_DATA): $(appdata_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
servicedir = $(datadir)/dbus-1/services
service_DATA = $(service_in_files:.service.in=.service)
service_in_files = \
org.freedesktop.FileManager1.service.in \
org.gnome.Nautilus.service.in
org.gnome.Nautilus.service: org.gnome.Nautilus.service.in Makefile
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
org.freedesktop.FileManager1.service: org.freedesktop.FileManager1.service.in Makefile
$(AM_V_GEN) sed -e "s|\@bindir\@|$(bindir)|" $< > $@
searchproviderdir = $(datadir)/gnome-shell/search-providers
searchprovider_DATA = nautilus-search-provider.ini
gsettings_SCHEMAS = org.gnome.nautilus.gschema.xml
@GSETTINGS_RULES@
EXTRA_DIST = \
dbus-interfaces.xml \
freedesktop-dbus-interfaces.xml \
shell-search-provider-dbus-interfaces.xml \
$(gsettings_SCHEMAS) \
$(desktop_in_files) \
$(service_in_files) \
$(autostart_in_files) \
$(searchprovider_DATA) \
$(appdata_in_files) \
$(NULL)
CLEANFILES = \
$(desktop_DATA) \
$(service_DATA) \
$(appdata_DATA) \
$(noinst_PROGRAMS) \
$(NULL)
if ENABLE_DESKTOP
CLEANFILES += $(autostart_DATA)
endif
icondir = $(datadir)/icons
nobase_icon_DATA = \
$(srcdir)/hicolor/16x16/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/22x22/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/24x24/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/32x32/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/48x48/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/512x512/apps/org.gnome.Nautilus.png \
$(srcdir)/hicolor/symbolic/apps/org.gnome.Nautilus-symbolic.svg
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(icondir)/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \