mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
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:
1 file changed
+5
-3
@@ -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:
|
||||
Reference in new issue
Block a user