unneeded .cvsignore

Stephen J. Turnbull stephen at xemacs.org
Tue Jun 22 22:56:09 EDT 2004


>>>>> "SY" == Steve Youngs <steve at youngs.au.com> writes:

    SY> * Stephen J Turnbull <stephen at xemacs.org> writes:

    >> Hm.  I wonder if .cvsignore could usefully be generated from
    >> the Makefile?

    SY> What would be the point of doing that?  Especially in this
    SY> case where it would seem the file is no longer needed.

# makefile

GENERATED=hyperspec.html

.cvsignore:
	echo $(GENERATED) > .cvsignore

Guess what happens when hyperspec.html gets removed from the GENERATED
variable?  This is much more likely to get updated correctly than
.cvsignore itself is.

However, I don't know if this works reasonably in corner cases.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list