From a1a568e4c4b5f48ea3987705f3a09e4431fe5d69 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 11:30:02 +0000 Subject: [PATCH] make: build bbs.service again each time, for a BINDIR given to make install Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01B82eRV8YPyMUdSM1QgsczH --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1836a8f..6120de8 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,9 @@ all: bbs bbs.service bbs: $(GO) build -o bbs ./cmd/bbs -# the systemd unit, with the path of the installed program -bbs.service: bbs.service.in Makefile +# the systemd unit, with the path of the installed program (FORCE: made +# again each time, for a BINDIR given to make install) +bbs.service: bbs.service.in FORCE sed -e 's|@BINDIR@|$(BINDIR)|g' bbs.service.in > $@ test: @@ -59,4 +60,5 @@ ruffle: clean: rm -f bbs bbs.service -.PHONY: all bbs test install clean doors-image proto phone-data ruffle +.PHONY: all bbs test install clean doors-image proto phone-data ruffle FORCE +FORCE: