gajim-plural/data/iconsets/Makefile.am

40 lines
1.1 KiB
Makefile
Raw Normal View History

iconsetdir = $(pkgdatadir)/data/iconsets
iconset_DATA =
ICONSET_DIRS = **/{16x16,32x32,48x48} \
transports/**/{16x16,32x32,48x48}
ICONSET_FILES = **/{16x16,32x32,48x48}/{*.gif,*.png} \
transports/**/{16x16,32x32,48x48}/{*.gif,*.png}
install-data-local:
@for d in $(ICONSET_DIRS);do \
if test -d $$d;then \
echo " $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/iconsets/$$d"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/iconsets/$$d || exit 1; \
fi; \
done
for f in $(ICONSET_FILES);do \
if test -f $$f; then \
echo " $(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/data/iconsets/$$f"; \
$(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/data/iconsets/$$f || exit 1; \
fi; \
done;
dist-hook:
@for d in $(ICONSET_DIRS);do \
if test -d $$d;then \
echo " $(mkdir_p) $(distdir)/$$d"; \
$(mkdir_p) $(distdir)/$$d || exit 1; \
fi; \
done
for f in $(ICONSET_FILES);do \
if test -f $$f; then \
echo " cp -pR $(srcdir)/$$f $(distdir)/$$f"; \
cp -pR $(srcdir)/$$f $(distdir)/$$f || exit 1; \
fi; \
done;
MAINTAINERCLEANFILES = Makefile.in