+2008-03-03 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (iconsrcdir): New variable.
+ (install-etc, mkdir): Use $iconsrcdir. Handle the `scalable' icon
+ directory.
+
2008-02-29 Glenn Morris <rgm@gnu.org>
* test/: New directory.
# Where the etc/images/icons/hicolor directory is to be installed.
icondir=$(datarootdir)/icons
+# The source directory for the icon files.
+iconsrcdir=$(srcdir)/etc/images/icons
+
# ==================== Emacs-specific directories ====================
# These variables hold the values Emacs will actually use. They are
install-etc: mkdir
${INSTALL_DATA} ${srcdir}/etc/emacs.desktop \
$(DESTDIR)${desktopdir}/emacs.desktop
- for icon in $(srcdir)/etc/images/icons/*/*x*/apps/*.*; do \
+ for icon in $(iconsrcdir)/*/*x*/apps/*.* \
+ $(iconsrcdir)/*/scalable/apps/*.*; do \
if [ -r $${icon} ]; then \
iicon=`echo "$${icon}" | sed 's,$(srcdir)/etc/images/icons,$(DESTDIR)${icondir},'` ; \
${INSTALL_DATA} $${icon} $${iicon} ; \
chmod a+r $(DESTDIR)${datadir};\
fi
icondirs= ; \
- for dir in $(srcdir)/etc/images/icons/*/*x*/apps; do \
+ for dir in $(iconsrcdir)/*/*x*/apps $(iconsrcdir)/*/scalable/apps; do \
if [ -d $${dir} ]; then \
icondirs="$${icondirs} $${dir}" ; \
fi ; \