emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103199: * src/Makefile.in (gl-st


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103199: * src/Makefile.in (gl-stamp): Create globals.h here.
Date: Wed, 09 Feb 2011 21:31:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> -globals.h: gl-stamp
> -     cp gl-stamp globals.h
> +globals.h: gl-stamp; @true
 
>  GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m)
 
>  gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES)
>       @rm -f gl-tmp
>       $(libsrc)/make-docfile -d $(srcdir) -g $(SOME_MACHINE_OBJECTS) $(obj) > 
> gl-tmp
> -     $(srcdir)/../move-if-change gl-tmp gl-stamp
> +     $(srcdir)/../move-if-change gl-tmp globals.h
> +     echo timestamp > $@
 
I don't understand this gl-stamp business.  The dependencies seem to
imply that any change to one of the source files will cause global.h to
be rebuilt, so we could just as well get rid of gl-stamp, right?
What am I missing?


        Stefan



reply via email to

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