bug-findutils
[Top][All Lists]
Advanced

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

[bugs #12064] make distclean deletes a distributed file


From: James Youngman
Subject: [bugs #12064] make distclean deletes a distributed file
Date: Wed, 23 Feb 2005 00:56:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050210 Firefox/1.0 (Debian package 1.0+dfsg.1-6)

Update of bugs #12064 (project findutils):

                  Status:                    None => Need Info              
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #1:

The regex.c file is a persistent problem.  See 



http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00199.html

http://lists.gnu.org/archive/html/bug-gnulib/2004-12/msg00122.html

http://lists.gnu.org/archive/html/bug-gnulib/2005-01/msg00070.html

http://lists.gnu.org/archive/html/bug-gnulib/2005-01/msg00071.html



In summary, I have tried several ways of solving this problem, including the
current strategy which is this:



##

## regex.c seems to get left out if I use automake-1.9 but not

## if I use automake-1.7.   Hence dist-hook has to be able to

## copy regex.c into the relevant (read-only) directory if it

## is not already there, but needs to avoid doing so if the

## file is already in place.   Ugh.

##                             -- James Youngman <address@hidden>

##

dist-hook: jy-regex-fix findutils-check-pofiles findutils-check-testfiles



jy-regex-fix:

        if test -f $(distdir)/gnulib/lib/regex.c ; then \

                echo regex.c is already in place.  Great. ; \

        else \

                echo Making $(distdir)/gnulib/lib writable ... ; \

                chmod +w $(distdir)/gnulib/lib ; \

                echo Copying $(srcdir)/gnulib/lib/regex.c to
$(distdir)/gnulib/lib ; \

                cp $(srcdir)/gnulib/lib/regex.c $(distdir)/gnulib/lib/regex.c
;

\

        fi

#       ls -ld $(srcdir)/gnulib/lib/regex.c $(distdir)/gnulib/lib



I have modified the toplevel Makefile.am to remove regex.c from
CONFIG_CLEAN_FILES (see attached patch).  Please test this fix to make sure
you're happy with it, either by applying the patch or by testing the CVS
code, and let me know how you get on.



Goodnight,

James.


    _______________________________________________________

Additional Item Attachment:

File name: findutils-4.2.18.regex-clean.patch Size:0 KB
Proposed fix
<http://savannah.gnu.org/bugs/download.php?item_id=12064&item_file_id=2230>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12064>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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