aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs22/files/patch-Makefile.in
blob: fd303bd3a231acd8f1f407f1a763488d93632409 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- Makefile.in.orig    Tue Jun 23 07:41:36 2009 +0300
+++ Makefile.in Tue Jun 23 07:39:33 2009 +0300
@@ -461,14 +461,6 @@
 
 install-arch-indep: mkdir info install-etc
    -set ${COPYDESTS} ; \
-   unset CDPATH; \
-   for dir in ${COPYDIR} ; do \
-     if [ `(cd $$1 && /bin/pwd)` != `(cd $${dir} && /bin/pwd)` ] ; then \
-       rm -rf $$1 ; \
-     fi ; \
-     shift ; \
-   done
-   -set ${COPYDESTS} ; \
    mkdir ${COPYDESTS} ; \
    chmod ugo+rx ${COPYDESTS} ; \
    unset CDPATH; \
@@ -570,9 +562,9 @@
       cd ${srcdir}/info ; \
       for elt in $(INFO_FILES); do \
          test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
-         for f in `ls $$elt $$elt-[1-9] $$elt-[1-9][0-9] 2>/dev/null`; do \
-           ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f; \
-           chmod a+r $(DESTDIR)${infodir}/$$f; \
+         for f in `ls $$elt 2>/dev/null`; do \
+           ${INSTALL_DATA} $$f $(DESTDIR)${infodir}/$$f.info; \
+           chmod a+r $(DESTDIR)${infodir}/$$f.info; \
          done; \
       done); \
    else true; fi
@@ -583,7 +575,7 @@
      for elt in $(INFO_FILES); do \
        test "$(MAKEINFO)" = "off" && ! test -e $$elt && continue; \
        (cd $${thisdir}; \
-        ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt); \
+        ${INSTALL_INFO} --info-dir=$(DESTDIR)${infodir} $(DESTDIR)${infodir}/$$elt.info); \
      done; \
    else true; fi
    -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} $(DESTDIR)${datadir}/emacs/site-lisp ${COPYDESTS} $(DESTDIR)${infodir}