From 8f2ab97cf035453db95a65dc7e957111bc7c3e8f Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Fri, 26 Dec 2025 10:05:51 -0600 Subject: [PATCH] Improve comments on Makefile config vars Updated comments explaining the purpose of the variables (to go with the new "automatic vars" section). --- Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index aec9b22d..89edb84d 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,18 @@ # This script produces a web build. If you aren't trying to do that, it is # entirely useless to you. -# Patch these to select a different build profile or target -# The target shouldn't change any time soon. WASM64, I guess. Other targets -# aren't aimed at the web, so you shouldn't be using this makefile. +# # # Configuration Variables # # # +# (because I don't have a ./configure script) +# +# 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_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 ?= . # # # Automatic Variables # # #