2024-06-20 00:47:22 +02:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
|
|
|
build:
|
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
|
|
|
|
|
|
|
install_no_build:
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
|
|
|
cp -vf target/release/fedora-kernel-manager $(DESTDIR)/usr/bin/
|
|
|
|
chmod 755 $(DESTDIR)/usr/bin/fedora-kernel-manager
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
cp -rvf data/scripts $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
chmod 755 $(DESTDIR)/usr/lib/fedora-kernel-manager/scripts/*.sh
|
2024-06-21 18:09:23 +02:00
|
|
|
cp -rvf data/locales $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
2024-06-20 00:47:22 +02:00
|
|
|
cp -vf data/kernel_branches.json $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
cp -vf data/scx_scheds.json $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
|
|
|
cp -vf data/com.github.cosmicfusion.fedora-kernel-manager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
cp -vf data/com.github.cosmicfusion.fedora-kernel-manager.desktop $(DESTDIR)/usr/share/applications/
|
2024-06-22 19:43:00 +02:00
|
|
|
cp -vf data/polkit-1 $(DESTDIR)/usr/share/
|
2024-06-20 00:47:22 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
|
|
|
cp -vf target/release/fedora-kernel-manager $(DESTDIR)/usr/bin/
|
|
|
|
chmod 755 $(DESTDIR)/usr/bin/fedora-kernel-manager
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
cp -rvf data/scripts $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
chmod 755 $(DESTDIR)/usr/lib/fedora-kernel-manager/scripts/*.sh
|
|
|
|
cp -vf data/kernel_branches.json $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
cp -vf data/scx_scheds.json $(DESTDIR)/usr/lib/fedora-kernel-manager/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
|
|
|
cp -vf data/com.github.cosmicfusion.fedora-kernel-manager.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
cp -vf data/com.github.cosmicfusion.fedora-kernel-manager.desktop $(DESTDIR)/usr/share/applications/
|
2024-06-22 19:43:00 +02:00
|
|
|
cp -vf data/polkit-1 $(DESTDIR)/usr/share/
|