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 | c90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch) | |
tree | 6d8391395bce9eaea4ad78958617edb20c6a7573 /libkdegames/carddecks/Makefile.am | |
download | tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.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/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdegames/carddecks/Makefile.am')
-rw-r--r-- | libkdegames/carddecks/Makefile.am | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libkdegames/carddecks/Makefile.am b/libkdegames/carddecks/Makefile.am new file mode 100644 index 00000000..8effea93 --- /dev/null +++ b/libkdegames/carddecks/Makefile.am @@ -0,0 +1,24 @@ +DECKDIRS = cards-aisleriot cards-dondorf-whist-b cards-gdkcard-bonded cards-hard-a-port \ + cards-penguins cards-spaced cards-xskat-french cards-default decks cards-konqi-modern cards-warwick cards-xskat-german + +deckdir = $(kde_datadir)/carddecks + +uninstall-local: + rm -rf $(DESTDIR)$(deckdir) + +install-data-local: + @$(mkinstalldirs) $(DESTDIR)$(deckdir) + @for i in $(DECKDIRS); do \ + if test -d $(DESTDIR)$(deckdir)/$$i; then \ + echo "refreshing and removing $$i" ;\ + rm -rf $(DESTDIR)$(deckdir)/$$i;\ + fi ;\ + echo "installing $$i" ;\ + mkdir $(DESTDIR)$(deckdir)/$$i ;\ + files=`cd $(srcdir)/$$i && ls -1d *` ;\ + for f in $$files; do \ + if test -f $(srcdir)/$$i/$$f; then \ + $(INSTALL_DATA) $(srcdir)/$$i/$$f $(DESTDIR)$(deckdir)/$$i/$$f ;\ + fi \ + done \ + done |