Clean up stock-icons

We copy them all in srcdir != builddir builds, so just
nuke the entire directory in that case.
This commit is contained in:
Matthias Clasen 2011-08-30 10:48:04 -04:00
parent a233022934
commit 3ff5a82e46

View File

@ -852,7 +852,12 @@ gtk_extra_sources = \
#
# setup GTK+ sources and their dependencies
#
MAINTAINERCLEANFILES = $(gtk_built_sources) $(stamp_files) $(GENERATED_ICONS) stock-icons/icon-theme.cache
MAINTAINERCLEANFILES = \
$(gtk_built_sources) \
$(stamp_files) \
$(GENERATED_ICONS) \
stock-icons/icon-theme.cache
EXTRA_HEADERS =
EXTRA_DIST += $(gtk_private_h_sources) $(gtk_extra_sources)
EXTRA_DIST += $(gtk_built_sources)
@ -996,6 +1001,7 @@ uninstall-local: uninstall-ms-lib uninstall-def-file uninstall-mac-key-theme
distclean-local:
if test $(srcdir) != .; then \
rm -f $(MAINTAINERCLEANFILES); \
rm -rf stock-icons; \
fi
DEPS = libgtk-3.la $(top_builddir)/gdk/libgdk-3.la