unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Failure to update info files.
@ 2004-11-29 23:40 Luc Teirlinck
  2004-11-30  4:41 ` Eli Zaretskii
  2004-12-01  2:57 ` Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Luc Teirlinck @ 2004-11-29 23:40 UTC (permalink / raw)


I use VC, but I do not believe that this is a VC problem.

When I revert a .texi file in emacs/lispref using `C-x v u' and then run:

make maintainer-clean
./configure --without-toolkit-scroll-bars
make bootstrap
sudo make install

then elisp* in emacs/info does not get updated.  I do not remember
running into this problem before and since I do stuff like that a
lot, it might be due to a relatively recent change.

>From the Makefile:

# make maintainer-clean
#      Delete everything from the current directory that can be
#      reconstructed with this Makefile.  This typically includes
#      everything deleted by distclean, plus more: .elc files,
#      C source files produced by Bison, tags tables, info files,
#      and so on.

Note that it says `info files', but I checked that after `make
maintainer-clean', my info files in emacs/info are still there.
Should they still be?  They definitely _can_ be reconstructed using
the Makefile.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-11-29 23:40 Failure to update info files Luc Teirlinck
@ 2004-11-30  4:41 ` Eli Zaretskii
  2004-12-01  2:57 ` Richard Stallman
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2004-11-30  4:41 UTC (permalink / raw)
  Cc: emacs-devel

> Date: Mon, 29 Nov 2004 17:40:43 -0600 (CST)
> From: Luc Teirlinck <teirllm@dms.auburn.edu>
> 
> # make maintainer-clean
> #      Delete everything from the current directory that can be
> #      reconstructed with this Makefile.  This typically includes
> #      everything deleted by distclean, plus more: .elc files,
> #      C source files produced by Bison, tags tables, info files,
> #      and so on.
> 
> Note that it says `info files'

It also says ``from the current directory''.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-11-29 23:40 Failure to update info files Luc Teirlinck
  2004-11-30  4:41 ` Eli Zaretskii
@ 2004-12-01  2:57 ` Richard Stallman
  2004-12-01  4:02   ` Luc Teirlinck
  2004-12-01 14:04   ` Luc Teirlinck
  1 sibling, 2 replies; 8+ messages in thread
From: Richard Stallman @ 2004-12-01  2:57 UTC (permalink / raw)
  Cc: emacs-devel

Does this fix it?

*** Makefile.in	20 Nov 2004 16:36:19 -0500	1.30
--- Makefile.in	30 Nov 2004 21:17:08 -0500	
***************
*** 124,130 ****
  distclean: clean
  
  maintainer-clean: clean
! 	rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux
  
  dist: $(infodir)/elisp elisp.dvi
  	-rm -rf temp
--- 124,131 ----
  distclean: clean
  
  maintainer-clean: clean
! 	rm -f elisp.dvi elisp.oaux
! 	cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] 
  
  dist: $(infodir)/elisp elisp.dvi
  	-rm -rf temp

Since the info files are generated by this makefile, I think it is
right for maintainer-clean in this makefile to delete them.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-12-01  2:57 ` Richard Stallman
@ 2004-12-01  4:02   ` Luc Teirlinck
  2004-12-01  9:35     ` Andreas Schwab
  2004-12-01 14:04   ` Luc Teirlinck
  1 sibling, 1 reply; 8+ messages in thread
From: Luc Teirlinck @ 2004-12-01  4:02 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman wrote:

   Does this fix it?

   *** Makefile.in	20 Nov 2004 16:36:19 -0500	1.30
   --- Makefile.in	30 Nov 2004 21:17:08 -0500	
   ***************
   *** 124,130 ****
     distclean: clean

     maintainer-clean: clean
   ! 	rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux

     dist: $(infodir)/elisp elisp.dvi
	   -rm -rf temp
   --- 124,131 ----
     distclean: clean

     maintainer-clean: clean
   ! 	rm -f elisp.dvi elisp.oaux
   ! 	cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] 

     dist: $(infodir)/elisp elisp.dvi
	   -rm -rf temp

It makes bootstrapping fail:

make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs/leim'
(cd lisp;     make  bootstrap-clean)
make[1]: Entering directory `/home/teirllm/emacscvsdir/emacs/lisp'
cd /home/teirllm/emacscvsdir/emacs/lisp; rm -f *.elc */*.elc
make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs/lisp'
(cd man; make  info)
make[1]: Entering directory `/home/teirllm/emacscvsdir/emacs/man'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs/man'
(cd lispref; make  info)
make[1]: Entering directory `/home/teirllm/emacscvsdir/emacs/lispref'
Makefile:127: *** missing separator.  Stop.
make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs/lispref'
make: *** [info] Error 2

The problem is probably just a trivial typo or such, but I am not
familiar at all with the Makefiles, so I do not see it.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-12-01  4:02   ` Luc Teirlinck
@ 2004-12-01  9:35     ` Andreas Schwab
  2004-12-01 13:37       ` Luc Teirlinck
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Schwab @ 2004-12-01  9:35 UTC (permalink / raw)
  Cc: emacs-devel

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Makefile:127: *** missing separator.  Stop.

Watch out for TABs.  Each command in a rule must be indented by a TAB.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-12-01  9:35     ` Andreas Schwab
@ 2004-12-01 13:37       ` Luc Teirlinck
  0 siblings, 0 replies; 8+ messages in thread
From: Luc Teirlinck @ 2004-12-01 13:37 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Schwab wrote:

   Luc Teirlinck <teirllm@dms.auburn.edu> writes:

   > Makefile:127: *** missing separator.  Stop.

   Watch out for TABs.  Each command in a rule must be indented by a TAB.

That was indeed the problem.  Thanks.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-12-01  2:57 ` Richard Stallman
  2004-12-01  4:02   ` Luc Teirlinck
@ 2004-12-01 14:04   ` Luc Teirlinck
  2004-12-03  3:41     ` Richard Stallman
  1 sibling, 1 reply; 8+ messages in thread
From: Luc Teirlinck @ 2004-12-01 14:04 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman wrote:

   Does this fix it?

   *** Makefile.in	20 Nov 2004 16:36:19 -0500	1.30
   --- Makefile.in	30 Nov 2004 21:17:08 -0500	
   ***************
   *** 124,130 ****
     distclean: clean

     maintainer-clean: clean
   ! 	rm -f elisp elisp-[1-9] elisp-[1-9][0-9] elisp.dvi elisp.oaux

     dist: $(infodir)/elisp elisp.dvi
	   -rm -rf temp
   --- 124,131 ----
     distclean: clean

     maintainer-clean: clean
   ! 	rm -f elisp.dvi elisp.oaux
   ! 	cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] 

     dist: $(infodir)/elisp elisp.dvi
	   -rm -rf temp

Yes, it does fix it.  Of course, I guess we should do this not only
for the Elisp manual , but for the other manuals included with the
Emacs CVS distribution as well.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Failure to update info files.
  2004-12-01 14:04   ` Luc Teirlinck
@ 2004-12-03  3:41     ` Richard Stallman
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Stallman @ 2004-12-03  3:41 UTC (permalink / raw)
  Cc: emacs-devel

    Yes, it does fix it.  Of course, I guess we should do this not only
    for the Elisp manual , but for the other manuals included with the
    Emacs CVS distribution as well.

I see that maintainer-clean in man/Makefile.in has code to delete the
info files, but it was commented out because they are in a different
directory.  Meanwhile, the `info' directory doesn't have a makefile at
all.

I think that it is correct for maintainer-clean in a certain makefile
to delete files made by that makefile, even if they are in other
directories.  I will raise the issue of changing the coding standards
in that way.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-12-03  3:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-29 23:40 Failure to update info files Luc Teirlinck
2004-11-30  4:41 ` Eli Zaretskii
2004-12-01  2:57 ` Richard Stallman
2004-12-01  4:02   ` Luc Teirlinck
2004-12-01  9:35     ` Andreas Schwab
2004-12-01 13:37       ` Luc Teirlinck
2004-12-01 14:04   ` Luc Teirlinck
2004-12-03  3:41     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).