unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <mvo@zagadka.ping.de>
Subject: Badness with TODO at dist time
Date: 08 Apr 2002 00:22:35 +0200	[thread overview]
Message-ID: <87g027jgic.fsf@zagadka.ping.de> (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


             reply	other threads:[~2002-04-07 22:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-07 22:22 Marius Vollmer [this message]
2002-04-08  0:30 ` Badness with TODO at dist time Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87g027jgic.fsf@zagadka.ping.de \
    --to=mvo@zagadka.ping.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).