unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Badness with TODO at dist time
@ 2002-04-07 22:22 Marius Vollmer
  2002-04-08  0:30 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Marius Vollmer @ 2002-04-07 22:22 UTC (permalink / raw)


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
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2002-04-08  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-07 22:22 Badness with TODO at dist time Marius Vollmer
2002-04-08  0:30 ` Thien-Thi Nguyen

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