mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-02 14:14:27 +02:00
Guard against redef of asciidoctor in common b2.
This commit is contained in:
@@ -9,6 +9,8 @@ import scanner ;
|
|||||||
import generators ;
|
import generators ;
|
||||||
import boostbook ;
|
import boostbook ;
|
||||||
|
|
||||||
|
if ! [ type.registered ASCIIDOC ]
|
||||||
|
{
|
||||||
# File type
|
# File type
|
||||||
|
|
||||||
type.register ASCIIDOC : asciidoc adoc ;
|
type.register ASCIIDOC : asciidoc adoc ;
|
||||||
@@ -25,6 +27,7 @@ class asciidoc-scanner : common-scanner
|
|||||||
|
|
||||||
scanner.register asciidoc-scanner : include ;
|
scanner.register asciidoc-scanner : include ;
|
||||||
type.set-scanner ASCIIDOC : asciidoc-scanner ;
|
type.set-scanner ASCIIDOC : asciidoc-scanner ;
|
||||||
|
}
|
||||||
|
|
||||||
# Define generators
|
# Define generators
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user