Improve comments on Makefile config vars

Updated comments explaining the purpose of the variables (to go with the
new "automatic vars" section).
This commit is contained in:
2025-12-26 10:05:51 -06:00
parent e494fc6c35
commit 8f2ab97cf0

View File

@@ -1,13 +1,18 @@
# This script produces a web build. If you aren't trying to do that, it is # This script produces a web build. If you aren't trying to do that, it is
# entirely useless to you. # entirely useless to you.
# Patch these to select a different build profile or target # # # Configuration Variables # # #
# The target shouldn't change any time soon. WASM64, I guess. Other targets # (because I don't have a ./configure script)
# aren't aimed at the web, so you shouldn't be using this makefile. #
# Patch these to select a different build profile or target.
# This Makefile will build a web bundle so using a non-wasm target is basically
# nonsense. Maybe WASM64, but I don't think that's useful (or stabilized yet).
CARGO_TARGET := wasm32-unknown-unknown CARGO_TARGET := wasm32-unknown-unknown
CARGO_PROFILE := wasm-release CARGO_PROFILE := wasm-release
# Override DESTDIR to set a custom install path (such as your web root) # Override DESTDIR to set a custom install path
# E.g.: your web root
# I use it via the Debian package build process (dpkg needs it)
DESTDIR ?= . DESTDIR ?= .
# # # Automatic Variables # # # # # # Automatic Variables # # #