* Makefile.in (install-man): Don't apply transform to suffix.
[bpt/emacs.git] / Makefile.in
index 5c5d30f..d9e7371 100644 (file)
@@ -622,7 +622,7 @@ install-man:
        thisdir=`/bin/pwd`; \
        cd ${mansrcdir}; \
        for page in *.1; do \
-         dest=`echo "$${page}" | sed '$(TRANSFORM)'`; \
+         dest=`echo "$${page}" | sed -e 's/\.1$$//' -e '$(TRANSFORM)'`.1; \
          (cd $${thisdir}; \
           ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${dest}); \
          ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \