From 234c753d91fb1cb548a5c946f3e065b6ee2647d9 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Tue, 23 Jan 2024 21:52:28 +0300 Subject: [PATCH] add makefile --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ad4c118 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +all: + true + +install: + mkdir -p $(DESTDIR)/usr/bin/ + cargo fetch + cargo build --release + cp -vf target/release/pika-installer-gtk4 $(DESTDIR)/usr/bin/ + chmod 755 $(DESTDIR)/usr/bin/pika-installer-gtk4 + mkdir -p $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/ + mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/ + cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/ + cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/ + chmod 755 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/*.sh + mkdir -p $(DESTDIR)/usr/share/applications + mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps + #cp -vf data/pika-drivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/ + #cp -vf data/com.pika.drivers.desktop $(DESTDIR)/usr/share/applications/