1 .\" CDDL HEADER START 2 .\" 3 .\" The contents of this file are subject to the terms of the 4 .\" Common Development and Distribution License (the "License"). 5 .\" You may not use this file except in compliance with the License. 6 .\" 7 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 8 .\" or http://www.opensolaris.org/os/licensing. 9 .\" See the License for the specific language governing permissions 10 .\" and limitations under the License. 11 .\" 12 .\" When distributing Covered Code, include this CDDL HEADER in each 13 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. 14 .\" If applicable, add the following below this CDDL HEADER, with the 15 .\" fields enclosed by brackets "[]" replaced with your own identifying 16 .\" information: Portions Copyright [yyyy] [name of copyright owner] 17 .\" 18 .\" CDDL HEADER END 19 .\" 20 .\" Copyright 2006 Sun Microsystems, Inc. All rights reserved. 21 .\" Use is subject to license terms. 22 .\" 23 .\" ident "%Z%%M% %I% %E% SMI" 24 .\" 25 .TH sccscheck 1 "7 April 2006" 26 .SH NAME 27 .I sccscheck 28 \- 29 .SH SYNOPSIS 30 .B sccscheck 31 filename 32 .SH DESCRIPTION 33 The standard solaris 34 .I make(1) 35 is SCCS-aware, automatically checking out files if they are out of 36 date with respect to the SCCS file; however, this is of little value 37 in the context of teamware and of no value if a non-SCCS SCM system is 38 used, and can lead to hard-to-diagnose build failures in the presence 39 of recursive parallel make. 40 The 41 .I sccscheck 42 script is used from the OS/Net Makefile.master file as a substitute 43 for make(1)'s default handling of SCCS files; it generates errors 44 preceded by "sccscheck: error", and warnings preceded by "sccscheck: 45 warning". 46 47 By default an out-of-date source file is treated as a non-event, and the 48 build continues onward; in most cases this will avoid unnecessary 49 rebuilds of other targets depending on the out-of-date source file. 50 .SH ENVIRONMENT 51 If set to a non-empty string, SCCSCHECK_WARN will cause sccscheck to 52 emit a verbose warning when an out-of-date source file is encountered; 53 the build will continue but the resulting build logs will be large. 54 55 If set to a non-empty string, SCCSCHECK_FAIL will cause sccscheck 56 to treat out-of-date source files as an error rather than a 57 warning. 58 59 If both are set, behavior will be as if only SCCSCHECK_FAIL is set. 60 61 62