summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2016-03-03 23:14:09 +0100
committerJakub Steiner <jimmac@gmail.com>2016-03-03 23:49:40 +0100
commit9deb59f175c5f2bbc9de0d3114c3e8bd3ff765bf (patch)
tree54a20c98c0d5fc0e4b0842d00bd266c9a4c10064 /themes
parentfc39c0ce3cd8734ca2278db38b1b6df6c37608fe (diff)
downloadgnome-themes-standard-9deb59f175c5f2bbc9de0d3114c3e8bd3ff765bf.tar.gz
make gtkrc install
- install the rc files (only assets were being installed) - clean up Makefile.am to install assets from a single dir
Diffstat (limited to 'themes')
-rw-r--r--themes/Adwaita/gtk-2.0/Makefile.am22
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 a7278ecd..b78f7dca 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)