Discussion:
[preview-latex-devel] CVS-1.227; aclocal.m4 and lib/Makefile deleted by make distclean
Ralf Angeli
2005-02-12 19:59:46 UTC
Permalink
[Moving this discussion over to preview-latex-devel and auc-tex
mailing lists as this now is more a development question concerning
both packages.]
,----[ <URL:http://www.gnu.org/prep/standards/html_node/Standard-Targets.html> ]
[...]
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...
Attached is a proposal for AUCTeX's Makefile.in. Maybe something like
this would be feasible for preview-latex as well. I still have to
figure out what to do with files like INSTALL, TODO etc. but the
scheme should be visible already.
--
Ralf
Loading...