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

Ralf Angeli <[email protected]> Sat, 12 Feb 2005 19:47:28 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <E1D02Ii-0001v9-Lv__30688.7686871507$1108236888$gmane$org@neutrino.iwi.uni-sb.de>
* David Kastrup (2005-02-12) writes:

> Ralf Angeli <[email protected]> writes:
>
>> `./autogen.sh' etc. won't work anymore after doing a `make distclean'
>> because the latter removes aclocal.m4 and lib/Makefile.  One has to do
>> a `cvs up' to get the files again.
>>
>> The GNU Coding Standards contain the following regarding this make
>> target:
>>
>> ,----[ <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.

-- 
Ralf


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