Fix "cvs commit" cmds in rules to not fail in the absence of CVS dirs.

This commit is contained in:
Roland McGrath 1995-05-19 21:51:40 +00:00
parent fd1e71567e
commit 87258b84a3

View File

@ -91,4 +91,4 @@ $(divrem:%=$(sysdep_dir)/alpha/%.S): $(sysdep_dir)/alpha/divrem.m4 $(sysdep_dir)
# Make it unwritable so noone will edit it by mistake.
-chmod a-w $@-tmp
mv -f $@-tmp $@
test -d CVS && cvs commit -m'Regenerated from $<' $@
test ! -d CVS || cvs commit -m'Regenerated from $<' $@