diff options
author | Perberos <[email protected]> | 2011-12-01 23:42:46 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 23:42:46 -0300 |
commit | ead8ef613ce66d51399a87d225b4cd52c6c7983e (patch) | |
tree | 28331e03ae7cced58068fc2a35dbf127d109a73e /marco-themes/Makefile.am | |
download | mate-themes-ead8ef613ce66d51399a87d225b4cd52c6c7983e.tar.bz2 mate-themes-ead8ef613ce66d51399a87d225b4cd52c6c7983e.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'marco-themes/Makefile.am')
-rw-r--r-- | marco-themes/Makefile.am | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/marco-themes/Makefile.am b/marco-themes/Makefile.am new file mode 100644 index 00000000..3dcf94a5 --- /dev/null +++ b/marco-themes/Makefile.am @@ -0,0 +1,40 @@ +THEMES= \ + Clearlooks \ + ClearlooksClassic \ + Glider \ + Glossy \ + Inverted \ + Mist + +THEME_DIR=$(datadir)/themes +THEME_SUBDIR=marco-1 + +uninstall: uninstall-am + for THEME in $(THEMES) ; do \ + rm -rf $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR); \ + done + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR); \ + for THEME in $(THEMES); do \ + echo '-- Installing theme '$$THEME; \ + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR)/$$THEME; \ + $(mkinstalldirs) $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR); \ + (installfiles=`find $(srcdir)/$$THEME -name "*.png" -o -name "*.xml"`; \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(THEME_DIR)/$$THEME/$(THEME_SUBDIR) ; \ + done) \ + done + +dist-hook: + mkdir $(distdir)/themes; \ + for THEME in $(THEMES); do \ + echo '-- Disting theme '$$THEME; \ + mkdir $(distdir)/$$THEME; \ + (installfiles=`find $(srcdir)/$$THEME -name "*.png" -o -name "*.xml"`; \ + for i in $$installfiles; do \ + echo '-- Disting '$$i ; \ + cp $$i $(distdir)/$$THEME; \ + done) \ + done |