emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make relinks emacs even if it's not necessary


From: Han Boetes
Subject: Re: make relinks emacs even if it's not necessary
Date: Fri, 24 Oct 2003 06:24:59 +0159
User-agent: Mutt/1.5.4i

Han Boetes wrote:
> I found out what causes the two DOC files:
>
> Normally if you build any piece of software you use.
>
>   ./configure make sudo make install
>
> I build as user and then run the install target with sudo to give me
> root-permissions.
>
> Normally the make install targets checks if all dependencies are
> found and then installs the files. The emacs makefiles on the other
> hand seem to think the binary has not been linked yet and starts
> working from there, creating a new emacs-foo, DOC-foo and a new fns-
> foo.el file.
>
> So the workaround is to:
>
>   ./configure sudo make install

Mysterious things happening...

This work-around works on the current code from cvs.

If I use these patches on current (don't pin me on linenumber details,
just read the change) the problem with make install starting to link
again is also fixed, though I doubt this is a proper fix:

--- Makefile.in.orig    2003-10-24 03:46:11.000000000 +0200
+++ Makefile.in 2003-10-24 03:46:48.000000000 +0200
@@ -281,7 +281,7 @@ src/Makefile: $(srcdir)/src/Makefile.in 
 
 src/config.stamp: $(srcdir)/src/config.in config.status
        ./config.status
-       touch src/config.stamp
+       test -r src/config.stamp || touch src/config.stamp
 
 lib-src/Makefile: $(srcdir)/lib-src/Makefile.in config.status
        ./config.status
--- src/Makefile.in.orig        2003-01-23 11:33:44.000000000 +0100
+++ src/Makefile.in     2003-10-24 03:38:33.000000000 +0200
@@ -899,7 +899,7 @@ prefix-args: prefix-args.c $(config_h)
    in its own makefile,
    and remake temacs if lwlib gets changed by this.  */
 stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU) 
-       touch stamp-oldxmenu
+       test -r stamp-oldxmenu || touch stamp-oldxmenu
 /* Supply an ordering for parallel make.  */
 ../src/$(OLDXMENU): ${OLDXMENU}


If I skip `make' with OpenBSD make and 21.3 no DOC and fns files are
generated at all. And the patches I just used on the cvs-code don't
help at all.

I have been staring at the makefile for quite some time now and I am
sure this is a bug worth fixing, but I can't see the fix.




# Han




reply via email to

[Prev in Thread] Current Thread [Next in Thread]