diff options
-rw-r--r-- | media/Makefile.am | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/media/Makefile.am b/media/Makefile.am index daa0fce..e50d528 100644 --- a/media/Makefile.am +++ b/media/Makefile.am @@ -3,13 +3,22 @@ EXTRA_DIST = hi48-mime-pgn.png hi16-mime-pgn.png KSDefault.tar.gz default-portrait.jpg hi64-app-knights.png pgn_template.kml hi64-mime-pgn.png hi32-mime-pgn.png icon-general.png hi32-app-knights.png default-engine-portrait.jpg KBDefault.tar.gz wizard.png hi48-app-knights.png KCDefault.tar.gz hi16-app-knights.png icon-display.png Makefile.am -install-data-local: +KBDefault.tar.gz: KBDefault + ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F) + +KCDefault.tar.gz: KCDefault + ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F) + +KSDefault.tar.gz: KSDefault + ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F) + +install-data-local: KBDefault.tar.gz KCDefault.tar.gz KSDefault.tar.gz $(mkinstalldirs) $(kde_icondir)/hicolor/48x48/mimetypes/ $(INSTALL_DATA) $(srcdir)/hi48-mime-pgn.png $(kde_icondir)/hicolor/48x48/mimetypes/pgn.png $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/mimetypes/ $(INSTALL_DATA) $(srcdir)/hi16-mime-pgn.png $(kde_icondir)/hicolor/16x16/mimetypes/pgn.png $(mkinstalldirs) $(kde_datadir)/knights/themes/ - $(INSTALL_DATA) $(srcdir)/KSDefault.tar.gz $(kde_datadir)/knights/themes/KSDefault.tar.gz + $(INSTALL_DATA) $(builddir)/KSDefault.tar.gz $(kde_datadir)/knights/themes/KSDefault.tar.gz $(mkinstalldirs) $(kde_datadir)/knights/ $(INSTALL_DATA) $(srcdir)/default-portrait.jpg $(kde_datadir)/knights/default-portrait.jpg $(mkinstalldirs) $(kde_icondir)/hicolor/64x64/apps/ @@ -29,13 +38,13 @@ install-data-local: $(mkinstalldirs) $(kde_datadir)/knights/ $(INSTALL_DATA) $(srcdir)/default-engine-portrait.jpg $(kde_datadir)/knights/default-engine-portrait.jpg $(mkinstalldirs) $(kde_datadir)/knights/themes/ - $(INSTALL_DATA) $(srcdir)/KBDefault.tar.gz $(kde_datadir)/knights/themes/KBDefault.tar.gz + $(INSTALL_DATA) $(builddir)/KBDefault.tar.gz $(kde_datadir)/knights/themes/KBDefault.tar.gz $(mkinstalldirs) $(kde_datadir)/knights/ $(INSTALL_DATA) $(srcdir)/wizard.png $(kde_datadir)/knights/wizard.png $(mkinstalldirs) $(kde_icondir)/hicolor/48x48/apps/ $(INSTALL_DATA) $(srcdir)/hi48-app-knights.png $(kde_icondir)/hicolor/48x48/apps/knights.png $(mkinstalldirs) $(kde_datadir)/knights/themes/ - $(INSTALL_DATA) $(srcdir)/KCDefault.tar.gz $(kde_datadir)/knights/themes/KCDefault.tar.gz + $(INSTALL_DATA) $(builddir)/KCDefault.tar.gz $(kde_datadir)/knights/themes/KCDefault.tar.gz $(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps/ $(INSTALL_DATA) $(srcdir)/hi16-app-knights.png $(kde_icondir)/hicolor/16x16/apps/knights.png $(mkinstalldirs) $(kde_datadir)/knights/ |