]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in (install-etc): Don't apply program transform to file suffixes.
authorGlenn Morris <rgm@gnu.org>
Wed, 24 Oct 2012 17:25:24 +0000 (13:25 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 24 Oct 2012 17:25:24 +0000 (13:25 -0400)
ChangeLog
Makefile.in

index 2f08ce49002272e49d0c63aecc5d6b8eefd25f62..14a4c4cdfc00f05ba2ce03c9410b3f4c78f12785 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2012-10-24  Glenn Morris  <rgm@gnu.org>
 
-       * 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  <eggert@cs.ucla.edu>
 
index d9e7371cf4a4675db56653c9947f029c2aeeb332..20d680e06ab29365b0c2ed779c45c5305fafdea7 100644 (file)
@@ -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; \