diff options
| author | Glenn Morris | 2012-05-17 23:48:14 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-17 23:48:14 -0700 |
| commit | 37baa3c829b37b5811e733137e252082e5459fca (patch) | |
| tree | 8325d82f8d8ad61044e33963f9d88e1d184c13bf | |
| parent | b533f05ef579b40dc2f056216f99a168b1314341 (diff) | |
| download | emacs-37baa3c829b37b5811e733137e252082e5459fca.tar.gz emacs-37baa3c829b37b5811e733137e252082e5459fca.zip | |
* Makefile.in (install-arch-indep): Remove unneeded chmods.
INSTALL_DATA does this for us.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Makefile.in | 5 |
2 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-05-18 Glenn Morris <rgm@gnu.org> | 1 | 2012-05-18 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (install-arch-indep): Remove unneeded chmods. | ||
| 4 | INSTALL_DATA does this for us. | ||
| 5 | |||
| 3 | * Makefile.in (install-arch-dep): Ensure bindir exists. | 6 | * Makefile.in (install-arch-dep): Ensure bindir exists. |
| 4 | Drop mkdir dependency. | 7 | Drop mkdir dependency. |
| 5 | (install-arch-indep): Ensure docdir, infodir, mandir exist. | 8 | (install-arch-indep): Ensure docdir, infodir, mandir exist. |
diff --git a/Makefile.in b/Makefile.in index 49fddba08c8..edd67845e6b 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -603,8 +603,7 @@ install-arch-indep: mkdir info install-etc | |||
| 603 | if [ -f dir ]; then true; \ | 603 | if [ -f dir ]; then true; \ |
| 604 | else \ | 604 | else \ |
| 605 | (cd $${thisdir}; \ | 605 | (cd $${thisdir}; \ |
| 606 | ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir; \ | 606 | ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir) ; \ |
| 607 | chmod a+r $(DESTDIR)${infodir}/dir); \ | ||
| 608 | fi; \ | 607 | fi; \ |
| 609 | info_misc=`cd $${thisdir}/doc/misc; ${MAKE} echo-info | sed '/ing directory/d'`; \ | 608 | info_misc=`cd $${thisdir}/doc/misc; ${MAKE} echo-info | sed '/ing directory/d'`; \ |
| 610 | cd ${srcdir}/info ; \ | 609 | cd ${srcdir}/info ; \ |
| @@ -613,7 +612,6 @@ install-arch-indep: mkdir info install-etc | |||
| 613 | for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ | 612 | for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \ |
| 614 | (cd $${thisdir}; \ | 613 | (cd $${thisdir}; \ |
| 615 | ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \ | 614 | ${INSTALL_DATA} ${srcdir}/info/$$f $(DESTDIR)${infodir}/$$f); \ |
| 616 | chmod a+r $(DESTDIR)${infodir}/$$f; \ | ||
| 617 | if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ | 615 | if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ |
| 618 | rm -f $(DESTDIR)${infodir}/$$f.gz; \ | 616 | rm -f $(DESTDIR)${infodir}/$$f.gz; \ |
| 619 | ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \ | 617 | ${GZIP_PROG} -9n $(DESTDIR)${infodir}/$$f; \ |
| @@ -630,7 +628,6 @@ install-arch-indep: mkdir info install-etc | |||
| 630 | for page in *.1; do \ | 628 | for page in *.1; do \ |
| 631 | (cd $${thisdir}; \ | 629 | (cd $${thisdir}; \ |
| 632 | ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; \ | 630 | ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}; \ |
| 633 | chmod a+r $(DESTDIR)${man1dir}/$${page}; \ | ||
| 634 | if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ | 631 | if [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ]; then \ |
| 635 | rm -f $(DESTDIR)${man1dir}/$${page}.gz; \ | 632 | rm -f $(DESTDIR)${man1dir}/$${page}.gz; \ |
| 636 | ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${page}; \ | 633 | ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${page}; \ |