1616# limitations under the License.
1717# /
1818
19- # VARIABLES #
20-
21- # Define the path to the executable for generating REPL help docs:
22- REPL_BUILD_HELP ?= $(SRC_DIR ) /@stdlib/repl/help/scripts/build.js
23-
24- # Define the path to the executable for aggregating REPL examples:
25- REPL_BUILD_EXAMPLES ?= $(SRC_DIR ) /@stdlib/repl/code-blocks/scripts/build.js
26-
27- # Define the path to the executable for aggregating REPL aliases:
28- REPL_BUILD_ALIASES ?= $(SRC_DIR ) /@stdlib/namespace/aliases/scripts/build.js
29-
30- # Define the path to the executable for mapping REPL aliases to package names:
31- REPL_BUILD_ALIAS2PKG ?= $(SRC_DIR ) /@stdlib/namespace/alias2pkg/scripts/build.js
32-
33- # Define the path to the executable for mapping REPL package names to aliases:
34- REPL_BUILD_PKG2ALIAS ?= $(SRC_DIR ) /@stdlib/namespace/pkg2alias/scripts/build.js
35-
36-
3719# TARGETS #
3820
3921# Generate REPL docs.
4022#
4123# This target generates REPL documentation.
4224
43- repl-docs : repl-help repl-examples repl-aliases repl-alias2pkg repl-pkg2alias
25+ repl-docs : repl-help repl-examples repl-aliases repl-alias2pkg repl-pkg2alias repl-alias2related
4426
4527.PHONY : repl-docs
4628
@@ -49,8 +31,8 @@ repl-docs: repl-help repl-examples repl-aliases repl-alias2pkg repl-pkg2alias
4931#
5032# This target generates REPL help documentation.
5133
52- repl-help : $(NODE_MODULES ) $( REPL_BUILD_HELP )
53- $(QUIET ) $(NODE ) $( REPL_BUILD_HELP )
34+ repl-help : $(NODE_MODULES ) " $( SRC_DIR ) /@stdlib/repl/help/scripts/build.js"
35+ $(QUIET ) $(NODE ) " $( SRC_DIR ) /@stdlib/repl/help/scripts/build.js "
5436
5537.PHONY : repl-help
5638
@@ -59,8 +41,8 @@ repl-help: $(NODE_MODULES) $(REPL_BUILD_HELP)
5941#
6042# This target aggregates REPL examples.
6143
62- repl-examples : $(NODE_MODULES ) $( REPL_BUILD_EXAMPLES )
63- $(QUIET ) $(NODE ) $( REPL_BUILD_EXAMPLES )
44+ repl-examples : $(NODE_MODULES ) " $( SRC_DIR ) /@stdlib/repl/code-blocks/scripts/build.js"
45+ $(QUIET ) $(NODE ) " $( SRC_DIR ) /@stdlib/repl/code-blocks/scripts/build.js "
6446
6547.PHONY : repl-examples
6648
@@ -69,8 +51,8 @@ repl-examples: $(NODE_MODULES) $(REPL_BUILD_EXAMPLES)
6951#
7052# This target aggregates REPL aliases.
7153
72- repl-aliases : $(NODE_MODULES ) $( REPL_BUILD_ALIASES )
73- $(QUIET ) $(NODE ) $( REPL_BUILD_ALIASES )
54+ repl-aliases : $(NODE_MODULES ) " $( SRC_DIR ) /@stdlib/namespace/aliases/scripts/build.js"
55+ $(QUIET ) $(NODE ) " $( SRC_DIR ) /@stdlib/namespace/aliases/scripts/build.js "
7456
7557.PHONY : repl-aliases
7658
@@ -79,8 +61,8 @@ repl-aliases: $(NODE_MODULES) $(REPL_BUILD_ALIASES)
7961#
8062# This target rebuilds the REPL database.
8163
82- repl-alias2pkg : $(NODE_MODULES ) $( REPL_BUILD_ALIAS2PKG )
83- $(QUIET ) $(NODE ) $( REPL_BUILD_ALIAS2PKG )
64+ repl-alias2pkg : $(NODE_MODULES ) " $( SRC_DIR ) /@stdlib/namespace/alias2pkg/scripts/build.js"
65+ $(QUIET ) $(NODE ) " $( SRC_DIR ) /@stdlib/namespace/alias2pkg/scripts/build.js "
8466
8567.PHONY : repl-alias2pkg
8668
@@ -89,7 +71,17 @@ repl-alias2pkg: $(NODE_MODULES) $(REPL_BUILD_ALIAS2PKG)
8971#
9072# This target rebuilds the REPL database.
9173
92- repl-pkg2alias : $(NODE_MODULES ) $( REPL_BUILD_PKG2ALIAS )
93- $(QUIET ) $(NODE ) $( REPL_BUILD_PKG2ALIAS )
74+ repl-pkg2alias : $(NODE_MODULES ) " $( SRC_DIR ) /@stdlib/namespace/pkg2alias/scripts/build.js"
75+ $(QUIET ) $(NODE ) " $( SRC_DIR ) /@stdlib/namespace/pkg2alias/scripts/build.js "
9476
9577.PHONY : repl-pkg2alias
78+
79+
80+ # Build the mapping between REPL aliases and related aliases.
81+ #
82+ # This target rebuilds the REPL database.
83+
84+ repl-alias2related : $(NODE_MODULES ) "$(SRC_DIR ) /@stdlib/namespace/alias2related/scripts/build.js"
85+ $(QUIET ) $(NODE ) " $( SRC_DIR) /@stdlib/namespace/alias2related/scripts/build.js"
86+
87+ .PHONY : repl-alias2related
0 commit comments