Skip to content

Commit

Permalink
buildsys: detect 'check-manuals' exit code
Browse files Browse the repository at this point in the history
The 'tee' and subshell combo ate the exit code. Also get rid of the
'dev/log' subdirectory.
  • Loading branch information
fingolfin committed Jan 30, 2024
1 parent 4dadca0 commit c06e301
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,6 @@ distclean: clean
rm -f config.log config.status GNUmakefile
rm -f doc/make_doc
rm -f doc/*/*.aux doc/*/*.bbl doc/*/*.blg doc/*/*.brf doc/*/*.idx doc/*/*.ilg doc/*/*.ind doc/*/*.log doc/*/*.out doc/*/*.pnr doc/*/*.tex doc/*/*.toc
rm -rf dev/log
rm -rf tags
rm -rf TAGS

Expand Down Expand Up @@ -971,9 +970,7 @@ clean-doc:

# Manual consistency check
check-manuals: all
$(MKDIR_P) dev/log
( cd doc/ref ; echo 'Read("testconsistency.g");' | $(TESTGAP) | \
tee `date -u +../../dev/log/check_manuals_%Y-%m-%d-%H-%M` )
cd doc/ref && $(TESTGAP) testconsistency.g

.PHONY: doc clean-doc manuals check-manuals html

Expand Down
2 changes: 1 addition & 1 deletion lib/algebra.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ DeclareGlobalFunction( "AlgebraByStructureConstants" );
## that describes the unique multiplicative identity element of the returned
## algebra w. r. t. the defining basis of this algebra,
## and that the returned algebra is an algebra-with-one
## (see <Ref Func="IsAlgebraWithOne"/>).
## (see <Ref Filt="IsAlgebraWithOne"/>).
## <P/>
## <Example><![CDATA[
## gap> A:= GF(2)^[2,2];;
Expand Down
2 changes: 1 addition & 1 deletion lib/ctbl.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2790,7 +2790,7 @@ DeclareGlobalFunction( "IsClassFusionOfNormalSubgroup" );
## <P/>
## For each <M>2</M>-modular Brauer characters where these conditions are
## not sufficient to determine the indicator, an unknown value
## (see <Ref Func="Unknown"/>) is returned.
## (see <Ref Oper="Unknown"/>) is returned.
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down
2 changes: 1 addition & 1 deletion lib/matrix.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ DeclareGlobalFunction( "PermutationMat" );
## If only <A>vector</A> is given then it is used to compute a default for
## <A>R</A>.
## <P/>
## If the <Ref Filt="ConstructingFilter" Label="for a matrix object"/> value
## If the <Ref Attr="ConstructingFilter" Label="for a matrix object"/> value
## of the result implies <Ref Filt="IsCopyable"/> then the result is
## fully mutable.
## <P/>
Expand Down

0 comments on commit c06e301

Please sign in to comment.