make: build bbs.service again each time, for a BINDIR given to make install

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRV8YPyMUdSM1QgsczH
This commit is contained in:
Claude committed 2026-11-24 11:30:02 +00:00
1 parent addf197118
commit a1a568e4c4
1 file changed
+5 -3
+5 -3
View File
@@ -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: