Skip to content

Commit

Permalink
Fix makefile's help
Browse files Browse the repository at this point in the history
  • Loading branch information
agagniere committed Aug 17, 2024
1 parent 3dd62bb commit 4502f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PP_section := $(Bold)
default: help ## When no target is provided, display the help

help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nThis Makefile allows one to build this project\'s documentation.\n\nUsage:\n make $(PP_command)<target>$(EOC)\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " $(PP_command)%-15s$(EOC) %s\n", $$1, $$2 } /^##@/ { printf "\n$(PP_section)%s$(EOC):\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
@awk 'BEGIN {FS = ":.*##"; printf "\nThis Makefile allows one to build the documentation of this project.\n\nUsage:\n make $(PP_command)<target>$(EOC)\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " $(PP_command)%-15s$(EOC) %s\n", $$1, $$2 } /^##@/ { printf "\n$(PP_section)%s$(EOC):\n", substr($$0, 5) }' $(MAKEFILE_LIST)

raw_help: ## Display the help without color
@$(MAKE) help --no-print-directory PP_command= PP_section= EOC=
Expand Down

0 comments on commit 4502f87

Please sign in to comment.