[Top][All Lists]

[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 





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


        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



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




Additional Item Attachment:

File name: findutils-4.2.18.regex-clean.patch Size:0 KB
Proposed fix


This item URL is:


  Message sent via/by Savannah

reply via email to

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