summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-25 14:54:22 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-02-25 14:57:48 -0800
commitf217cd24b91dd0ff57a5d7e2069ac757cb02d347 (patch)
tree3f4098d3cbf069ae82f5d94018486516e72c9454 /Makefile
parentb9271059591b106e4a240a604fa39c091a199f9f (diff)
fpm build deb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5db8f24ff..07e78bcdb 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,15 @@ dev/install:
cp zig-out/bin/ghostty ${HOME}/bin/devtty
.PHONY: dev/install
+# Create a binary deb. This isn't meant for general purpose use. This is just
+# for testing. General purpose should use a real package manager (I don't
+# maintain it at the moment).
+deb:
+ rm -rf zig-out/
+ zig build -Doptimize=ReleaseFast
+ fpm -C zig-out/ -s dir -t deb -n ghostty --prefix /usr ./
+.PHONY: deb
+
# glad updates the GLAD loader. To use this, place the generated glad.zip
# in this directory next to the Makefile, remove vendor/glad and run this target.
#