aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman1995-09-06 15:18:29 +0000
committerRichard M. Stallman1995-09-06 15:18:29 +0000
commit469dd2ef08cb3c24ec9cd35fe6df7803fca5b8d6 (patch)
treeaf1ed13bc88e321b76e4376124e23d194df68d7d /Makefile.in
parentcb4903bcc10445a119100a0865455fa27780f936 (diff)
downloademacs-469dd2ef08cb3c24ec9cd35fe6df7803fca5b8d6.tar.gz
emacs-469dd2ef08cb3c24ec9cd35fe6df7803fca5b8d6.zip
(install-arch-indep): Always install the new dir file;
rename the previous dir file to dir.bak or dir.old.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 7236014e390..6751aa48881 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -349,9 +349,11 @@ install-arch-indep: mkdir
349 thisdir=`/bin/pwd`; \ 349 thisdir=`/bin/pwd`; \
350 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ 350 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
351 then \ 351 then \
352 (cd ${srcdir}/info ; \ 352 (cd ${infodir}; \
353 if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ 353 if [ ! -f dir.old ]; then mv -f dir dir.old; \
354 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \ 354 else mv -f dir dir.bak; fi; \
355 cd ${srcdir}/info ; \
356 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir); \
355 fi ; \ 357 fi ; \
356 for f in cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \ 358 for f in cl* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*; do \
357 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \ 359 (cd $${thisdir}; ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f); \