diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 8b2aa1b5301ab60368a03e36df4ff5216726e87d (patch) | |
tree | 36163d4ee667c23b5cf232df2f3004cd0a76202a /IconThemes/Makefile.am | |
download | tdeartwork-8b2aa1b5301ab60368a03e36df4ff5216726e87d.tar.gz tdeartwork-8b2aa1b5301ab60368a03e36df4ff5216726e87d.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'IconThemes/Makefile.am')
-rw-r--r-- | IconThemes/Makefile.am | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/IconThemes/Makefile.am b/IconThemes/Makefile.am new file mode 100644 index 00000000..e5f890c9 --- /dev/null +++ b/IconThemes/Makefile.am @@ -0,0 +1,34 @@ +## kdeartwork/Makefile.am +## (C) 1997-2001 Stephan Kulow + +install-exec-am: install-data-local + +ICONTHEMES=Locolor ikons kdeclassic slick kids + +# For Themes +themesdir = $(kde_datadir)/kthememgr/Themes +install-data-local: + @for theme in $(ICONTHEMES) ; do \ + $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/$$theme ; \ + $(INSTALL_DATA) $(top_srcdir)/IconThemes/$$theme/index.theme $(DESTDIR)$(kde_icondir)/$$theme ; \ + sizes=`cd $(top_srcdir)/IconThemes/$$theme && ls -1`; \ + for size in $$sizes ; do \ + if [ -d $(top_srcdir)/IconThemes/$$theme/$$size -a $$size != "CVS" -a $$size != ".svn" ]; then \ + $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/$$theme/$$size ; \ + for group in actions apps devices filesystems mimetypes; do \ + if [ -d $(top_srcdir)/IconThemes/$$theme/$$size/$$group ]; then \ + echo "installing $$theme/$$size/$$group" ; \ + $(mkinstalldirs) $(DESTDIR)$(kde_icondir)/$$theme/$$size/$$group ; \ + pngs=`cd $(top_srcdir)/IconThemes/$$theme/$$size/$$group && ls -1 *.png 2> /dev/null`; \ + for png in $$pngs; do $(INSTALL_DATA) $(top_srcdir)/IconThemes/$$theme/$$size/$$group/$$png \ + $(DESTDIR)$(kde_icondir)/$$theme/$$size/$$group/$$png ; done; \ + mngs=`cd $(top_srcdir)/IconThemes/$$theme/$$size/$$group && ls -1 *.mng 2> /dev/null`; \ + for mng in $$mngs; do \ + $(INSTALL_DATA) $(top_srcdir)/IconThemes/$$theme/$$size/$$group/$$mng \ + $(DESTDIR)$(kde_icondir)/$$theme/$$size/$$group/$$mng ; done; \ + fi ; \ + done ; \ + fi ; \ + done ; \ + done + |