Re: {Spam?} CVS-1.227; aclocal.m4 and lib/Makefile deleted by make distclean

David Kastrup <[email protected]> Sat, 12 Feb 2005 20:32:13 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <x54qghfubm.fsf__30216.4867906415$1108237320$gmane$org@lola.goethe.zz>
Ralf Angeli <[email protected]> writes:

> * David Kastrup (2005-02-12) writes:
>
>> Ralf Angeli <[email protected]> writes:
>>
>>> ,----[ <URL:http://www.gnu.org/prep/standards/html_node/Standard-Targets.html> ]
>>> | `distclean'
>>> | 
>>> |     Delete all files in the current directory (or created by this
>>> |     makefile) that are created by configuring or building the
>>> |     program. If you have unpacked the source and built the program
>>> |     without creating any other files, `make distclean' should leave
>>> |     only the files that were in the distribution. However, there is no
>>> |     need to delete parent directories that were created with `mkdir
>>> |     -p', since they could have existed anyway.
>>> `----
>>>
>>> That means deleting these files doesn't seem correct.
>>
>> It does not say so very explicitly.  distclean is, as it is worded
>> intended to turn a fresh tarball into a fresh tarball.  So it would
>> appear appropriate if it did not touch CVS-only files.  However, I
>> think that it would be ok if it deleted backup files in general that
>> strictly speaking would come about from editing sources, not
>> compiling.
>
> I don't consider this a good idea.  For example with AUCTeX I often do
> a `make distclean' when aclocal.m4 or configure.in was changed.  I
> wouldn't wanna let this delete my backup files.  Besides, it would
> violate the guideline cited above as the files are not generated by
> configuring or building.
>
> Out of curiosity I looked at the Makefiles of autoconf and Emacs.  The
> former does nothing about them and the latter has an extra target
> `extraclean' for that purpose.

Ok, do what you consider correct.  I actually almost never make clean,
anyhow...

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click