bug-automake
[Top][All Lists]
Advanced

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

automake 1.6.3: make distcleancheck too finicky


From: Karl Berry
Subject: automake 1.6.3: make distcleancheck too finicky
Date: Thu, 12 Sep 2002 17:23:51 -0400

In automake 1.6.3, 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.
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.

In any case, it's fine to show these extra files, but don't make me
fail.  The simplest workaround is below.

I reported this for 1.6 as well.  Hope this can be resolved for next time.

Thanks,
karl


*** /usr/local/gnu/share/automake-1.6/am/ORIG/distdir.am        Thu Sep 12 
13:30:45 2002
--- /usr/local/gnu/share/automake-1.6/am/distdir.am     Thu Sep 12 13:55:21 2002
***************
*** 309,313 ****
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
          || { echo "ERROR: files left after distclean:" ; \
               $(distcleancheck_listfiles) ; \
!              exit 1; } >&2
  endif %?TOPDIR_P%
--- 309,313 ----
        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]