pika-drivers/Makefile
Ward Nakchbandi (Cosmic Fusion) 1138769d62 snapshot
2023-06-29 23:59:32 +03:00

13 lines
324 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/
cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/
chmod 755 $(DESTDIR)/usr/bin/pika-drivers/*.sh