From: Glenn Morris Date: Wed, 24 Oct 2012 17:25:24 +0000 (-0400) Subject: * Makefile.in (install-etc): Don't apply program transform to file suffixes. X-Git-Tag: emacs-24.2.90~209^2~86 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8bfcb8a6a8b37bc38b2f5407d4ab7eb886b9e79c;p=emacs.git * Makefile.in (install-etc): Don't apply program transform to file suffixes. --- diff --git a/ChangeLog b/ChangeLog index 2f08ce49002..14a4c4cdfc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2012-10-24 Glenn Morris - * Makefile.in (install-man): Don't apply transform to suffix. + * Makefile.in (install-etc, install-man): + Don't apply program transform to standard file suffixes. 2012-10-23 Paul Eggert diff --git a/Makefile.in b/Makefile.in index d9e7371cf4a..20d680e06ab 100644 --- a/Makefile.in +++ b/Makefile.in @@ -647,7 +647,8 @@ install-etc: ( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \ for icon in $${dir}/emacs[.-]*; do \ [ -r $${icon} ] || continue ; \ - dest=`echo "$${icon}" | sed -e 's|.*/||' -e '$(TRANSFORM)'` ; \ + ext=`echo "$${icon}" | sed -e 's|.*\.||'`; \ + dest=`echo "$${icon}" | sed -e 's|.*/||' -e "s|\.$${ext}$$||" -e '$(TRANSFORM)'`.$${ext} ; \ ( cd $${thisdir}; \ ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dir}/$${dest} ) \ || exit 1; \