pika-drivers/Makefile
Ward Nakchbandi (Cosmic Fusion) a5ad656413
Update Makefile
2023-07-01 02:34:23 +03:00

19 lines
667 B
Makefile

all:
true
install:
mkdir -p $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/usr/lib/pika/drivers/
cp data/*.css $(DESTDIR)/usr/lib/pika/drivers/
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/
cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/
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/pika-drivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
cp -vf data/pika-drivers.desktop $(DESTDIR)/usr/share/applications/