mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
dev: add debug builds to makefile
This commit is contained in:
parent
b9b8499fe7
commit
508dd174e5
14
Makefile
14
Makefile
@ -4,20 +4,28 @@ PREFIX ?= /usr/local
|
||||
|
||||
build-release:
|
||||
cargo build -p lact --release
|
||||
|
||||
build-debug:
|
||||
cargo build -p lact
|
||||
|
||||
build-release-libadwaita:
|
||||
cargo build -p lact --release --features=adw
|
||||
|
||||
build-release-headless:
|
||||
cargo build -p lact --release --no-default-features
|
||||
|
||||
install:
|
||||
install -Dm755 target/release/lact $(DESTDIR)$(PREFIX)/bin/lact
|
||||
|
||||
install-resources:
|
||||
install -Dm644 res/lactd.service $(DESTDIR)$(PREFIX)/lib/systemd/system/lactd.service
|
||||
install -Dm644 res/io.github.lact-linux.desktop $(DESTDIR)$(PREFIX)/share/applications/io.github.lact-linux.desktop
|
||||
install -Dm644 res/io.github.lact-linux.png $(DESTDIR)$(PREFIX)/share/pixmaps/io.github.lact-linux.png
|
||||
install -Dm644 res/io.github.lact-linux.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/io.github.lact-linux.svg
|
||||
|
||||
install: install-resources
|
||||
install -Dm755 target/release/lact $(DESTDIR)$(PREFIX)/bin/lact
|
||||
|
||||
install-debug: install-resources
|
||||
install -Dm755 target/debug/lact $(DESTDIR)$(PREFIX)/bin/lact
|
||||
|
||||
uninstall:
|
||||
rm $(DESTDIR)$(PREFIX)/bin/lact
|
||||
rm $(DESTDIR)$(PREFIX)/lib/systemd/system/lactd.service
|
||||
|
Loading…
Reference in New Issue
Block a user