Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
incorporate Victor's recent suggestions with minor changes
  • Loading branch information
smontanaro committed Feb 18, 2024
commit ec07aa57e98f538c4bc2a068b44cd170f7a3ea6f
31 changes: 17 additions & 14 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -649,23 +649,26 @@ all: @DEF_MAKE_ALL_RULE@
# Provide quick help for common Makefile targets.
.PHONY: help
help:
@echo "make: build the python executable and extension modules"
@echo
@echo "Or 'make <target>' where <target> is one of:"
@echo " test run the test suite"
@echo " install install built files"
@echo " regen-all regenerate a number of generated source files"
@echo " clinic run Argument Clinic over source files"
@echo "Run 'make' to build the python executable and extension modules"
Comment thread
smontanaro marked this conversation as resolved.
Outdated
@echo ""
@echo " clean to remove build files"
@echo " distclean 'clean' + remove other generated files (patch, exe, etc)"
@echo "or 'make <target>' where <target> is one of:"
@echo " test run the test suite"
@echo " install install built files"
@echo " regen-all regenerate a number of generated source files"
@echo " clinic run Argument Clinic over source files"
@echo ""
@echo " recheck rerun configure with last cmdline options"
@echo " reindent reindent .py files in Lib directory"
@echo " tags build a tags file (useful for Emacs and other editors)"
@echo " clean to remove build files"
@echo " distclean 'clean' + remove other generated files (patch, exe, etc)"
@echo ""
@echo "For an exhaustive list of Makefile targets, execute:"
@echo " grep -E '^[A-Za-z][A-Za-z0-9]+:' Makefile"
@echo " recheck rerun configure with last cmdline options"
@echo " reindent reindent .py files in Lib directory"
@echo " tags build a tags file (useful for Emacs and other editors)"
@echo " list-targets list all targets in the Makefile"

# Display a full list of Makefile targets
.PHONY: list-targets
list-targets:
grep -E '^[A-Za-z][-A-Za-z0-9]+:' Makefile | awk -F : '{print $$1}'
Comment thread
smontanaro marked this conversation as resolved.
Outdated

.PHONY: build_all
build_all: check-clean-src $(BUILDPYTHON) platform sharedmods \
Expand Down