Print this page
9803 pbchk could use a -c option
9825 pbchk -b option should be -p
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
#
# Copyright 2010, Richard Lowe
+ #
+ # Copyright 2018 Joyent, Inc.
SHELL=/usr/bin/ksh93
SHFILES= \
Install \
*** 112,124 ****
interface_check \
interface_cmp
CLEANFILES = $(SHFILES) $(PERLFILES) $(PYFILES) bldenv.1onbld onu.sh
- onu.sh: onu.sh.in
- $(SED) -e "s:@PYTHON_VERSION@:$(PYTHON_VERSION):g" < onu.sh.in > $@
-
include ../Makefile.tools
ROOTONBLDSCRIPTLINKS = $(SCRIPTLINKS:%=$(ROOTONBLDBIN)/%)
ROOTONBLDMAN1ONBLDLINKS = $(MAN1ONBLDLINKS:%=$(ROOTONBLDMAN1ONBLD)/%)
--- 114,123 ----
*** 131,140 ****
--- 130,142 ----
.KEEP_STATE:
all: $(SHFILES) $(PERLFILES) $(PERLMODULES) $(PYFILES) \
$(MAN1ONBLDFILES) $(MAKEFILES)
+ onu.sh: onu.sh.in
+ $(SED) -e "s:@PYTHON_VERSION@:$(PYTHON_VERSION):g" < onu.sh.in > $@
+
$(ROOTONBLDBIN)/git-nits:
$(RM) $(ROOTONBLDBIN)/git-nits
$(SYMLINK) git-pbchk $(ROOTONBLDBIN)/git-nits
$(ROOTONBLDMAN1ONBLD)/git-nits.1onbld:
*** 161,175 ****
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/' \
-e 's/(1)/(1ONBLD)/' > "$@"
nightly: nightly.sh stdenv.sh
$(RM) "$@"
sed -e '/# STDENV_START/ r stdenv.sh' nightly.sh > nightly
$(CHMOD) +x "$@"
include ../Makefile.targ
--- 163,183 ----
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)
+
include ../Makefile.targ