diff options
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 |