chore: remove Makefile in favour of packaging/PKGBUILD
The PKGBUILD in packaging/ covers everything the Makefile did. Local installs should use `cd packaging && makepkg -si` instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"makefile.configureOnOpen": false
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
PREFIX ?= $(HOME)/.local
|
||||
BIN_DIR = $(PREFIX)/bin
|
||||
APP_DIR = $(PREFIX)/share/applications
|
||||
|
||||
.PHONY: build install uninstall
|
||||
|
||||
build:
|
||||
cargo build --release
|
||||
|
||||
install: build
|
||||
install -Dm755 target/release/umutray $(BIN_DIR)/umutray
|
||||
@mkdir -p $(APP_DIR)
|
||||
@sed "s|Exec=umutray|Exec=$(BIN_DIR)/umutray|" umutray.desktop > $(APP_DIR)/umutray.desktop
|
||||
@echo ""
|
||||
@echo "Installed umutray to $(BIN_DIR)/umutray"
|
||||
@echo "App menu entry written to $(APP_DIR)/umutray.desktop"
|
||||
@echo ""
|
||||
@echo "Optional: run 'umutray service install' to autostart the tray on login."
|
||||
|
||||
uninstall:
|
||||
rm -f $(BIN_DIR)/umutray
|
||||
rm -f $(APP_DIR)/umutray.desktop
|
||||
@echo "Uninstalled umutray"
|
||||
Reference in New Issue
Block a user