[gitg] Separate update-icon-cache to install-data-hook



commit 6fd6a1dfc308cb577ab643d4b23b0a7692f987a0
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jan 3 19:10:55 2014 +0100

    Separate update-icon-cache to install-data-hook

 data/icons/Makefile.am |    6 ++++--
 tests/Makefile.am      |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index e01212c..61377ab 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -47,9 +47,11 @@ uninstall-icons:
                rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
        done;
 
-install-data-local: install-icons update-icon-cache
+install-data-local: install-icons
+install-data-hook: update-icon-cache
 
-uninstall-local: uninstall-icons update-icon-cache
+uninstall-local: uninstall-icons
+uninstall-hook: update-icon-cache
 
 EXTRA_DIST =                           \
        $(public_icons)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7101574..f63e142 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = -g -I$(top_srcdir) -I$(top_srcdir)/gitg -I$(top_srcdir)/libgitg $(GITG_DEBUG_FLAGS) 
$(GITG_CFLAGS)
+SUBDIRS = libgitg
 
 noinst_PROGRAMS = $(TEST_PROGS) $(DEMO_PROGS)
 


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