Update Makefile

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-07-01 02:34:23 +03:00 committed by GitHub
parent 8b044f3332
commit a5ad656413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,14 @@ all:
install: install:
mkdir -p $(DESTDIR)/usr/bin/ mkdir -p $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/usr/lib/pika/drivers/
cp data/*.css $(DESTDIR)/usr/lib/pika/drivers/
cargo fetch cargo fetch
cargo build --release cargo build --release
cp -vf target/release/pika-drivers $(DESTDIR)/usr/bin/ cp -vf target/release/pika-drivers $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-drivers chmod 755 $(DESTDIR)/usr/bin/pika-drivers
mkdir -p $(DESTDIR)/usr/lib/pika/drivers/ mkdir -p $(DESTDIR)/usr/lib/pika/drivers/
cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/ cp data/*.sh $(DESTDIR)/usr/lib/pika/drivers/
cp data/*.css $(DESTDIR)/usr/lib/pika/drivers/
chmod 755 $(DESTDIR)/usr/lib/pika/drivers/*.sh chmod 755 $(DESTDIR)/usr/lib/pika/drivers/*.sh
mkdir -p $(DESTDIR)/usr/share/applications mkdir -p $(DESTDIR)/usr/share/applications
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps