automake
[Top][All Lists]
Advanced

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

Re: slow "make clean"


From: Ralf Hemmecke
Subject: Re: slow "make clean"
Date: Sun, 13 Feb 2011 15:10:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

You mean, as a workaround until Automake is improved?  You could
overwrite the rule in your Makefile.am:

mostlyclean-compile:
        -find . -name \*.lo -o -name \*.$(OBJEXT) -print | xargs rm -f

But note that automake may generate other files that would need to be
mostlyclean'ed too, so the above could be insufficient for your project.

Thanks, that seems to work as a workaround. But, of course, it would be good, if I knew what will be generated, so that I can clean everything even when Makefile.am changes slightly. Is there a variable that already contains every name of MAKE-generated files?

Thanks for the report,

No problem. But I was a bit surprised that I haven't found any proper bugtracker. Now, I have to subscribe to automake-patches and try to figure out when automake will have improvements that fix the slow "make clean" problem instead of just subscribing to the specific bug report.

Ralf



reply via email to

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