https://gitlab.synchro.net/main/sbbs/-/commit/57a19d45de0cd1939f0a2446
Modified Files:
src/doors/clans-src/GNUmakefile src/doors/clans-src/docs/notes.txt
Log Message:
Strip file deployment from game and devkit targets
The game and devkit targets previously copied files to the current working directory (binaries, clans.pak, release files, devkit tools, etc.). When run from the project root, this scattered 20+ files there. The original author noted this as a "terrible mess if ran inside the repo" (commit 2831b8229d).
Since binaries are already compiled into bin/, gmake install handles deployment to any target directory, the copy-to-cwd behavior in game/devkit is redundant.
Changes:
- game target: now only builds (data binaries), removes cp and mkdir commands
- devkit target: now only builds (devkit-binaries), removes cp commands
- all target: directly expresses what it builds (binaries data devkit-binaries
installer devkit-installer) instead of routing through game/devkit
- installer target: replaces $(MAKE) game with explicit cp commands that
populate stage/gum/
- devkit-installer target: replaces $(MAKE) devkit with explicit cp commands
that populate stagedk/gum/ (consolidates the data-source file copies from
the previous fix)
- clean/deepclean: removes the now-dead rm loops for DOOR_BINARIES,
DEVKIT_BINARIES, DATA_FILES, release/*, devkit/*, and outbound
Documentation updates:
- gmake game: now "Compile game binaries and data" (was "copy to root")
- gmake devkit: now "Compile devkit tools" (was "copy to root")
- gmake clean: now "Remove object files, compiled data, and installer .zip
files" (corrected to include data artifacts, removed root-copy references)
The project root now only receives .zip packages and (temporarily) staging directories during builds. All test suites pass (115/115).
Co-Authored-By: Claude Haiku 4.5 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net