Skip to content

Commit 2db3501

Browse files
committed
Don't build PDF docs if NOPDF env variable is set
1 parent 69cae1b commit 2db3501

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gap/Magic.gi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,11 @@ function( arg )
583583
Add( args, tmp );
584584
fi;
585585

586+
# don't build PDF docs if the environment variable NOPDF is set
587+
if IsBound( GAPInfo.SystemEnvironment.NOPDF ) then
588+
Add( args, "nopdf" );
589+
fi;
590+
586591
# Finally, invoke GAPDoc
587592
CallFuncList( MakeGAPDocDoc, args );
588593

0 commit comments

Comments
 (0)