Skip to content

Commit a5c803c

Browse files
committed
Merge branch 'lua-code-combine' into up-to-date
2 parents c3214b3 + 69e0643 commit a5c803c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,9 @@ help:
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-
6764
ifneq ($(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
8077
else
81-
.PHONY: _build
82-
_build:
83-
78+
.PHONY: build
79+
build:
8480
endif
8581

8682
.PHONY: check_luacc

0 commit comments

Comments
 (0)