Print this page
XXXX don't ship bldenv and nightly
*** 27,45 ****
SHELL=/usr/bin/ksh93
SHFILES= \
Install \
- bldenv \
build_cscope \
bringovercheck \
checkpaths \
cstyle \
elfcmp \
flg.flp \
genoffsets \
- nightly \
onu \
protocmp.terse \
sccscheck \
webrev \
which_scm \
--- 27,43 ----
*** 74,84 ****
SCRIPTLINKS= \
git-nits
MAN1ONBLDFILES= \
Install.1onbld \
- bldenv.1onbld \
bringovercheck.1onbld \
cddlchk.1onbld \
checkpaths.1onbld \
check_rtime.1onbld \
cstyle.1onbld \
--- 72,81 ----
*** 88,98 ****
hdrchk.1onbld \
interface_check.1onbld \
interface_cmp.1onbld \
jstyle.1onbld \
mapfilechk.1onbld \
- nightly.1onbld \
onu.1onbld \
sccscheck.1onbld \
webrev.1onbld \
which_scm.1onbld \
ws.1onbld \
--- 85,94 ----
*** 112,122 ****
EXCEPTFILES= \
check_rtime \
interface_check \
interface_cmp
! CLEANFILES = $(SHFILES) $(PERLFILES) $(PYFILES) bldenv.1onbld onu.sh
include ../Makefile.tools
ROOTONBLDSCRIPTLINKS = $(SCRIPTLINKS:%=$(ROOTONBLDBIN)/%)
ROOTONBLDMAN1ONBLDLINKS = $(MAN1ONBLDLINKS:%=$(ROOTONBLDMAN1ONBLD)/%)
--- 108,118 ----
EXCEPTFILES= \
check_rtime \
interface_check \
interface_cmp
! CLEANFILES = $(SHFILES) $(PERLFILES) $(PYFILES) onu.sh
include ../Makefile.tools
ROOTONBLDSCRIPTLINKS = $(SCRIPTLINKS:%=$(ROOTONBLDBIN)/%)
ROOTONBLDMAN1ONBLDLINKS = $(MAN1ONBLDLINKS:%=$(ROOTONBLDMAN1ONBLD)/%)
*** 150,181 ****
$(ROOTONBLDEXCEPTFILES) $(ROOTONBLDMAN1ONBLDLINKS)
clean:
$(RM) $(CLEANFILES)
- bldenv: bldenv.sh stdenv.sh
- $(RM) "$@"
- sed -e '/# STDENV_START/ r stdenv.sh' bldenv.sh > "$@"
- # Check for shell lint and fail if we hit warnings
- shlintout="$$( /usr/bin/ksh93 -n "$@" 2>&1 )" ; \
- [[ "$${shlintout}" != "" ]] && \
- { print -r -- "$${shlintout}" ; false ; } || true
- $(CHMOD) +x "$@"
-
- bldenv.1onbld: bldenv
- $(RM) "$@"
- (set +o errexit ; ksh93 $? --nroff ; true) 2>&1 | \
- sed -e 's/\.DS/.nf/g;s/\.DE/.fi/' \
- -e 's/\.TH BLDENV 1/.TH BLDENV 1ONBLD "September 4, 2018"/' \
- -e 's/.OP \([a-z]\) - flag -/.OP \\-\1/g' \
- -e 's/(1)/(1ONBLD)/' > "$@"
-
- nightly: nightly.sh stdenv.sh
- $(RM) "$@"
- sed -e '/# STDENV_START/ r stdenv.sh' nightly.sh > nightly
- $(CHMOD) +x "$@"
-
#
# Not run by default: bootstrap...
check:
$(ROOTONBLDBINMACH)/mandoc -Tlint -Wwarning $(MAN1ONBLDFILES)
--- 146,155 ----