Skip to content

Commit

Permalink
Promote 'make check-links' deprecation warning to error
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Aug 4, 2024
1 parent ecd275d commit a523822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ linkcheck: BUILDER = linkcheck
linkcheck: html

## check-links (deprecated: use 'make linkcheck' alias instead)
.PHONY: pages
check-links: linkcheck
@echo "\033[0;33mWarning:\033[0;31m 'make check-links' \033[0;33mis deprecated, use\033[0;32m 'make linkcheck' \033[0;33malias instead\033[0m"
.PHONY: check-links
check-links:
@echo "\033[0;33mError:\033[0;31m 'make check-links' \033[0;33mis deprecated, use\033[0;32m 'make linkcheck' \033[0;33malias instead\033[0m"

## clean to remove the venv and build files
.PHONY: clean
Expand Down

0 comments on commit a523822

Please sign in to comment.