From: Glenn Morris Date: Mon, 3 Mar 2008 02:26:40 +0000 (+0000) Subject: (iconsrcdir): New variable. X-Git-Tag: emacs-pretest-23.0.90~7506 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4cba674aba37edbc235a4e1a88d7421d77af9084;p=emacs.git (iconsrcdir): New variable. (install-etc, mkdir): Use $iconsrcdir. Handle the `scalable' icon directory. --- diff --git a/ChangeLog b/ChangeLog index 4ed7eadd721..9aa6f7c0123 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-03 Glenn Morris + + * Makefile.in (iconsrcdir): New variable. + (install-etc, mkdir): Use $iconsrcdir. Handle the `scalable' icon + directory. + 2008-02-29 Glenn Morris * test/: New directory. diff --git a/Makefile.in b/Makefile.in index 721883e9943..e50e8696902 100644 --- a/Makefile.in +++ b/Makefile.in @@ -177,6 +177,9 @@ desktopdir=$(datarootdir)/applications # 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 @@ -575,7 +578,8 @@ install-arch-indep: mkdir info install-etc 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} ; \ @@ -603,7 +607,7 @@ mkdir: FRC 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 ; \