Skip to content

Commit c495084

Browse files
committed
Update Makefile
Need a -f parameter if user has done `make distclean`
1 parent e2a1131 commit c495084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ show-diff: nodejs/node_modules/remark nodejs/remark/.remarkrc $(SOURCEPATH) $(BU
5252
.PHONY: check-references
5353
check-references: $(SOURCEPATH) $(BUILD_DIR) Makefile
5454
## check references unique
55-
rm $(BUILD_DIR)/$(SOURCEFILE).uniq
55+
rm -f $(BUILD_DIR)/$(SOURCEFILE).uniq
5656
grep -oP '(?<=<a name=")[^\"]+' $(SOURCEPATH) | uniq -d > $(BUILD_DIR)/$(SOURCEFILE).uniq
5757
## check if output has data
5858
if [ -s "build/CppCoreGuidelines.md.uniq" ]; then echo 'Found duplicate anchors:'; cat $(BUILD_DIR)/$(SOURCEFILE).uniq; false; fi

0 commit comments

Comments
 (0)