[gtk+] Clean up stock-icons



commit 3ff5a82e4614b85eff0b211c9566bd03caea029e
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 30 10:48:04 2011 -0400

    Clean up stock-icons
    
    We copy them all in srcdir != builddir builds, so just
    nuke the entire directory in that case.

 gtk/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index f6d6ee1..b96e303 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]