Files
devdesk/debian/rules
T

20 lines
560 B
Makefile
Raw Normal View History

#!/usr/bin/make -f
%:
dh $@
# Build runs `make`, which fetches the pinned ttyd release and verifies its sha256.
# The tmux server unit owns every Claude process: never stop or restart it on
# upgrade. The web unit (ttyd) is safe to restart and does so after upgrades.
override_dh_installsystemd:
dh_installsystemd --name=devdesk-tmux --no-stop-on-upgrade
dh_installsystemd devdesk.service
# ttyd is an upstream static binary; keep it byte-identical to its published checksum.
override_dh_strip:
dh_strip -Xbin/ttyd
override_dh_dwz:
dh_dwz -Xbin/ttyd