bug-automake
[Top][All Lists]
Advanced

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

automake 1.6: make distcleancheck too finicky


From: Karl Berry
Subject: automake 1.6: make distcleancheck too finicky
Date: Tue, 12 Mar 2002 12:01:19 -0500

In automake 1.6, make distcleancheck actually fails if there are files
left after distclean:

    ERROR: files left after distclean:
    ./doc/info.1
    ./doc/install-info.1
    ./doc/makeinfo.1
    ./doc/texindex.1
    ./info/funs.h
    ./info/doc.c
    ./info/key.c
    make[1]: *** [distcleancheck] Error 1

This seems too restrictive to me.  I *want* to include those files in
the distribution, even though they are generated.  That way, if
something goes wrong with the generation, the installer can still get
their job done without reproducing the entire development environment, etc.
And the man pages might be nice to see before installing.
(Seems like every distribution that uses help2man would have this
problems, unless they don't distribute the man pages.)

Perhaps it would be possible to not complain about files that are
included in the dist that are left after make distclean.  That would
probably be the cleanest solution.

But in any case, it's fine to show these extra files, but don't make me
fail.  Kludge patch follows (I needed to get my pretest out).

Thanks,
karl

P.S. Any thoughts yet on the install-info snafu I reported a few days ago?

*** /usr/local/gnu/share/automake-1.6/am/ORIG/distdir.am        Fri Mar  8 
11:31:53 2002
--- /usr/local/gnu/share/automake-1.6/am/distdir.am     Tue Mar 12 08:42:52 2002
***************
*** 299,303 ****
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left after distclean:" ; \
               $(distcleancheck_listfiles) ; \
!              exit 1; } >&2
  endif %?TOPDIR_P%
--- 299,303 ----
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left after distclean:" ; \
               $(distcleancheck_listfiles) ; \
!              true; } >&2
  endif %?TOPDIR_P%



reply via email to

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