build: I wanted to get the binary out of the makefile to appease F-Droid, and one thing lead to another.

This commit is contained in:
Cory McWilliams 2024-11-27 09:28:14 -05:00
parent 50fef2edfa
commit 7ffc148358

View File

@ -3,7 +3,7 @@
MAKEFLAGS += --warn-undefined-variables MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules MAKEFLAGS += --no-builtin-rules
## == Tilde Friends build. == ## == Tilde Friends build. ==
## ##
## This is a list of all supported build targets. ## This is a list of all supported build targets.
## ##
@ -11,10 +11,10 @@ MAKEFLAGS += --no-builtin-rules
## parallel (faster). ## parallel (faster).
## ##
## Useful variables to override: ## Useful variables to override:
## CC Compiler. ## CC := Compiler.
## AS Assembler. ## AS := Assembler.
## LD Linker. ## LD := Linker.
## ANDROID_SDK Path to the Android SDK. ## ANDROID_SDK := Path to the Android SDK.
VERSION_CODE := 30 VERSION_CODE := 30
VERSION_NUMBER := 0.0.25-wip VERSION_NUMBER := 0.0.25-wip
@ -1248,9 +1248,18 @@ help: ## Display this help message.
@awk \ @awk \
-F: \ -F: \
-vG=$$(tput setaf 2) \ -vG=$$(tput setaf 2) \
-vO=$$(tput setaf 3) \
-vB=$$(tput setaf 4) \
-vM=$$(tput setaf 5) \
-vC=$$(tput setaf 6) \
-vR=$$(tput sgr0) ' \ -vR=$$(tput sgr0) ' \
/^##/ { sub(/^##\s?/, ""); printf "%s%s%s\n", G, $$0, R } \ /^## ==.*==$$/ { sub(/^## ?/, ""); printf "%s%s%s\n", C, $$0, R } \
/^[[:alnum:]-]+:.*##/ { sub(/:.*##\s?/, ":"); printf "%s%-20s%s %s\n", G, $$1, R, $$2 } \ /^##.*:\=.*/ { sub(/^## ?/, ""); sub(/:\=/, ":"); printf " %s%-20s%s %s%s%s\n", M, $$1, R, O, $$2, R } \
/^##/ { sub(/^## ?/, ""); print $$0 } \
/^[[:alnum:]-]+:.*##/ { \
sub(/:.*##\s?/, ":"); \
printf " %s%-20s%s %s%s%s\n", G, $$1, R, O, $$2, R \
} \
' < $(filter-out %.d,$(MAKEFILE_LIST)) ' < $(filter-out %.d,$(MAKEFILE_LIST))
@echo "" # Blank line. @echo "" # Blank line.
.PHONY: help .PHONY: help