Re: Badness with TODO at dist time

2002-04-07 Thread Thien-Thi Nguyen

   From: Marius Vollmer <[EMAIL PROTECTED]>
   Date: 08 Apr 2002 00:22:35 +0200

   (One tempting thing is
   to not distribute TODO at all.)

i wouldn't mind if we didn't distribute TODO.

thi

___
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile



Badness with TODO at dist time

2002-04-07 Thread Marius Vollmer

Hi,

I'm having problems with the new way of handling the TODO file, in
both branches.  It has moved from guile-core/TODO to
workbook/tasks/TODO.

When invoking "make dist", the file does not exist and there is no rul
to create it.  Rather, the dist-hook target copies it from the
workbook.

However, this is too late.  The dist-hook is run _after_ the
distribution directory (in $distdir) has been built, not before.
Additionally, the dist-hook target is meant to modify the contents of
$distdir, not the $srcdir (or build dir in case of a VPATH build).


As a fix, I propose to remove this code from guile-core/Makefile

if MAINTAINER_MODE
# Fill dist tree.
include $(top_srcdir)/am/maintainer-dirs
dist-hook:
( echo 'This is a snapshot of the TODO file.' ; date ; echo ; \
  cat $(workbook)/tasks/TODO ) > TODO
endif

and add this line to guile-core/autogen.sh

ln -s $workbook/tasks/TODO TODO


I have done this change already in order to be able to proceed, but
please feel free to suggest a better solution.  (One tempting thing is
to not distribute TODO at all.)

___
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile