summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-10-15 17:57:20 -0400
committerGlenn Morris <rgm@gnu.org>2012-10-15 17:57:20 -0400
commit293902c8b28955cce23d0ae79820d363ba99bf72 (patch)
tree0222c53d3f1652227594e142aa777f8a913dda59 /Makefile.in
parentf14a43805d112a783d769c61ac234015595199c2 (diff)
downloademacs-293902c8b28955cce23d0ae79820d363ba99bf72.tar.gz
(install-etc): Fix previous change
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 95f851b0ada..d929160c597 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -647,9 +647,9 @@ install-etc:
( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \
for icon in $${dir}/*.*; do \
[ -r $${icon} ] || continue ; \
- dest=`echo "$${icon}" | sed '$(TRANSFORM)'` ; \
+ dest=`echo "$${icon}" | sed -e 's|.*/||' -e '$(TRANSFORM)'` ; \
( cd $${thisdir}; \
- ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dest} ) \
+ ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dir}/$${dest} ) \
|| exit 1; \
done ; \
done