Makefile (0f554fe53a6056402dbaf025d945afa8659af0c7) Makefile (4ff15898b7da74f6c007b0fef82a27cb866afade)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 52 unchanged lines hidden (view full) ---

61
62PYFILES= \
63 cddlchk \
64 copyrightchk \
65 git-pbchk \
66 hdrchk \
67 mapfilechk \
68 validate_pkg \
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 52 unchanged lines hidden (view full) ---

61
62PYFILES= \
63 cddlchk \
64 copyrightchk \
65 git-pbchk \
66 hdrchk \
67 mapfilechk \
68 validate_pkg \
69 wscheck \
69 wsdiff
70
71SCRIPTLINKS= \
72 git-nits
73
74MAN1ONBLDFILES= \
75 Install.1onbld \
76 bldenv.1onbld \

--- 74 unchanged lines hidden (view full) ---

151
152bldenv: bldenv.sh stdenv.sh
153 $(RM) "$@"
154 sed -e '/# STDENV_START/ r stdenv.sh' bldenv.sh > "$@"
155 # Check for shell lint and fail if we hit warnings
156 shlintout="$$( /usr/bin/ksh93 -n "$@" 2>&1 )" ; \
157 [[ "$${shlintout}" != "" ]] && \
158 { print -r -- "$${shlintout}" ; false ; } || true
70 wsdiff
71
72SCRIPTLINKS= \
73 git-nits
74
75MAN1ONBLDFILES= \
76 Install.1onbld \
77 bldenv.1onbld \

--- 74 unchanged lines hidden (view full) ---

152
153bldenv: bldenv.sh stdenv.sh
154 $(RM) "$@"
155 sed -e '/# STDENV_START/ r stdenv.sh' bldenv.sh > "$@"
156 # Check for shell lint and fail if we hit warnings
157 shlintout="$$( /usr/bin/ksh93 -n "$@" 2>&1 )" ; \
158 [[ "$${shlintout}" != "" ]] && \
159 { print -r -- "$${shlintout}" ; false ; } || true
159 $(CHMOD) +x "$@"
160 $(CHMOD) +x "$@"
160
161bldenv.1onbld: bldenv
162 $(RM) "$@"
163 (set +o errexit ; ksh93 $? --nroff ; true) 2>&1 | \
164 sed -e 's/\.DS/.nf/g;s/\.DE/.fi/' \
165 -e 's/\.TH BLDENV 1/.TH BLDENV 1ONBLD/' \
166 -e 's/(1)/(1ONBLD)/' > "$@"
167
168nightly: nightly.sh stdenv.sh
169 $(RM) "$@"
170 sed -e '/# STDENV_START/ r stdenv.sh' nightly.sh > nightly
161
162bldenv.1onbld: bldenv
163 $(RM) "$@"
164 (set +o errexit ; ksh93 $? --nroff ; true) 2>&1 | \
165 sed -e 's/\.DS/.nf/g;s/\.DE/.fi/' \
166 -e 's/\.TH BLDENV 1/.TH BLDENV 1ONBLD/' \
167 -e 's/(1)/(1ONBLD)/' > "$@"
168
169nightly: nightly.sh stdenv.sh
170 $(RM) "$@"
171 sed -e '/# STDENV_START/ r stdenv.sh' nightly.sh > nightly
171 $(CHMOD) +x "$@"
172 $(CHMOD) +x "$@"
172
173include ../Makefile.targ
174
173
174include ../Makefile.targ
175