2006-10-04 02:10:49 +02:00
|
|
|
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 \
|
2006-10-04 14:22:37 +02:00
|
|
|
echo " $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/iconsets/$$d"; \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/iconsets/$$d || exit 1; \
|
2006-10-04 02:10:49 +02:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
for f in $(ICONSET_FILES);do \
|
|
|
|
if test -f $$f; then \
|
2006-10-04 14:22:37 +02:00
|
|
|
echo " $(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/data/iconsets/$$f"; \
|
|
|
|
$(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/data/iconsets/$$f || exit 1; \
|
2006-10-04 02:10:49 +02:00
|
|
|
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;
|