File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 6161# luacc and replace the filter file.
6262# ifeq is safer than ifdef (easier for the user to make
6363# the variable empty than to make it undefined).
64- .PHONY : build
65- build : _build
66-
6764ifneq ($(SOURCE_MAIN ) , )
68- .PHONY : _build
69- _build : _check_luacc $(SOURCE_FILES )
65+ .PHONY : build
66+ build : _check_luacc $(SOURCE_FILES )
7067 @if [ -f $( QUARTO_EXT_DIR) /$( FILTER_FILE) ]; then \
7168 luacc -o $(QUARTO_EXT_DIR ) /$(FILTER_FILE ) -i $(SOURCE_DIR ) \
7269 $(SOURCE_DIR ) /$(SOURCE_MAIN ) $(SOURCE_MODULES ) ; \
@@ -78,9 +75,8 @@ _build: _check_luacc $(SOURCE_FILES)
7875 $(SOURCE_DIR ) /$(SOURCE_MAIN ) $(SOURCE_MODULES ) ; \
7976 fi
8077else
81- .PHONY : _build
82- _build :
83-
78+ .PHONY : build
79+ build :
8480endif
8581
8682.PHONY : check_luacc
You can’t perform that action at this time.
0 commit comments