pika-drivers/Makefile
Ward from fusion-voyager-3 c888b2ebd7 No Network Page
2024-02-23 21:38:03 +03:00

19 lines
726 B
Makefile

all:
true
install:
mkdir -p $(DESTDIR)/usr/bin/
cargo fetch
cargo build --release
cp -vf target/release/pika-drivers $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-drivers
mkdir -p $(DESTDIR)/usr/lib/pika/drivers/
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/
cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
chmod 755 $(DESTDIR)/usr/lib/pika/drivers/*.sh
mkdir -p $(DESTDIR)/usr/share/applications
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
cp -vf data/com.github.pikaos-linux.pikadrivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
cp -vf data/com.github.pikaos-linux.pikadrivers.desktop $(DESTDIR)/usr/share/applications/