[gnome-themes-standard] make gtkrc install



commit 9deb59f175c5f2bbc9de0d3114c3e8bd3ff765bf
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Mar 3 23:14:09 2016 +0100

    make gtkrc install
    
    - install the rc files (only assets were being installed)
    - clean up Makefile.am to install assets from a single
      dir

 themes/Adwaita/gtk-2.0/Makefile.am |   22 +++-------------------
 1 files changed, 3 insertions(+), 19 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index a7278ec..b78f7dc 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -9,9 +9,9 @@ libadwaita_la_LIBADD =  $(GTK2_ENGINE_LIBS)
 themedir = $(datadir)/themes/Adwaita/gtk-2.0
 theme_DATA = gtkrc main.rc apps.rc
 
-asset_dirs = "assets"
+assetdir = $(themedir)/assets
 
-asset_data = \
+asset_DATA = \
        assets/border.png \
        assets/button-active.png \
        assets/button-hover.png \
@@ -181,20 +181,4 @@ asset_data = \
        assets/treeview-separator-ltr.png \
        assets/treeview-separator-rtl.png
 
-
-install-data-local:
-       for dir in $(asset_dirs); do \
-               for file in `cd $(srcdir)/$$dir && find . -maxdepth 1 \( -name "*.png" \)`; do \
-                       $(mkdir_p) $(DESTDIR)$(datadir)/themes/Adwaita/gtk-2.0/$$dir; \
-                       $(install_sh_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(themedir)/$$dir/$$file; \
-               done; \
-       done
-
-uninstall-local:
-       for dir in $(asset_dirs); do \
-               for file in `cd $(srcdir)/$$dir && find . -maxdepth 1 \( -name "*.png" \)`; do \
-                       rm -f $(DESTDIR)$(datadir)/themes/Adwaita/gtk-2.0/$$dir/$$file; \
-               done; \
-       done
-
-EXTRA_DIST = $(theme_DATA) $(asset_data)
+EXTRA_DIST = $(theme_DATA) $(asset_DATA)


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