bug-guile
[Top][All Lists]
Advanced

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

Badness with TODO at dist time


From: Marius Vollmer
Subject: Badness with TODO at dist time
Date: 08 Apr 2002 00:22:35 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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.)



reply via email to

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