[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-source-changes
Subject:    CVS commit: src/share/man/man7
From:       "Greg Troxel" <gdt () netbsd ! org>
Date:       2013-07-31 11:57:24
Message-ID: 20130731115724.87D8196 () cvs ! netbsd ! org
[Download RAW message or body]

Module Name:	src
Committed By:	gdt
Date:		Wed Jul 31 11:57:24 UTC 2013

Modified Files:
	src/share/man/man7: Makefile

Log Message:
Remove tests.7 in objdir before copying to it.

If one's source tree has non-writable files (because of CVSREAD=t, or
someone else owns it, or it's on some read-only filesystems, some
other reason), recently-added makefile code would cp tests.foo.7 in
the sources to tests.7 in objdir, preserving permissions, but not
forcing the copy.  A subsequent copy would result in an error, failing
the build.  Therefore, rm -f the target file before doing the copy.

(Arguably there should some standard support for this, but copying
files from the source directory to objdir is quite unusual.)


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/share/man/man7/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic