You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/libkdegames/carddecks/Makefile.am

25 lines
784 B

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