60 lines
2.8 KiB
Makefile
Raw Normal View History

2024-06-20 01:47:22 +03:00
all:
true
build:
cargo fetch
cargo build --release
2024-06-24 02:49:31 +03:00
build_debug:
cargo fetch
cargo build --debug
2024-06-20 01:47:22 +03:00
install_no_build:
mkdir -p $(DESTDIR)/usr/bin/
2024-08-31 05:10:09 +03:00
cp -vf target/release/pika-kernel-manager $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-kernel-manager
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/
cp -rvf data/scripts $(DESTDIR)/usr/lib/pika/kernel-manager/
chmod 755 $(DESTDIR)/usr/lib/pika/kernel-manager/scripts/*.sh
2024-12-18 23:22:17 +03:00
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
cp -rvf data/locales/*.json $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
2024-08-31 05:10:09 +03:00
cp -vf data/scx_scheds.json $(DESTDIR)/usr/lib/pika/kernel-manager/
2024-06-20 01:47:22 +03:00
mkdir -p $(DESTDIR)/usr/share/applications
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
2024-08-31 05:10:09 +03:00
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.desktop $(DESTDIR)/usr/share/applications/
2024-06-24 02:49:31 +03:00
cp -rvf data/polkit-1 $(DESTDIR)/usr/share/
install_no_build_debug:
mkdir -p $(DESTDIR)/usr/bin/
2024-08-31 05:10:09 +03:00
cp -vf target/debug/pika-kernel-manager $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-kernel-manager
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/
cp -rvf data/scripts $(DESTDIR)/usr/lib/pika/kernel-manager/
chmod 755 $(DESTDIR)/usr/lib/pika/kernel-manager/scripts/*.sh
2024-12-18 23:22:17 +03:00
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
cp -rvf data/locales/*.json $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
2024-08-31 05:10:09 +03:00
cp -vf data/scx_scheds.json $(DESTDIR)/usr/lib/pika/kernel-manager/
2024-06-24 02:49:31 +03:00
mkdir -p $(DESTDIR)/usr/share/applications
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
2024-08-31 05:10:09 +03:00
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.desktop $(DESTDIR)/usr/share/applications/
2024-06-22 20:58:48 +03:00
cp -rvf data/polkit-1 $(DESTDIR)/usr/share/
2024-06-20 01:47:22 +03:00
install:
mkdir -p $(DESTDIR)/usr/bin/
cargo fetch
cargo build --release
2024-08-31 05:10:09 +03:00
cp -vf target/release/pika-kernel-manager $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-kernel-manager
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/
cp -rvf data/scripts $(DESTDIR)/usr/lib/pika/kernel-manager/
chmod 755 $(DESTDIR)/usr/lib/pika/kernel-manager/scripts/*.sh
2024-12-18 23:22:17 +03:00
mkdir -p $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
cp -rvf data/locales/*.json $(DESTDIR)/usr/lib/pika/kernel-manager/locales/
2024-08-31 05:10:09 +03:00
cp -vf data/scx_scheds.json $(DESTDIR)/usr/lib/pika/kernel-manager/
2024-06-23 17:41:37 +03:00
mkdir -p $(DESTDIR)/usr/share/applications
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
2024-08-31 05:10:09 +03:00
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
cp -vf data/com.github.pikaos-linux.pika-kernel-manager.desktop $(DESTDIR)/usr/share/applications/
2024-06-23 17:41:37 +03:00
cp -rvf data/polkit-1 $(DESTDIR)/usr/share/