21 lines
919 B
Makefile
21 lines
919 B
Makefile
|
export PATH := "$(PWD):$(PATH)"
|
||
|
|
||
|
all:
|
||
|
true
|
||
|
|
||
|
install:
|
||
|
cargo fetch
|
||
|
cargo build --release
|
||
|
mkdir -p $(DESTDIR)/usr/bin/
|
||
|
mkdir -p $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||
|
mkdir -p $(DESTDIR)/usr/share/applications
|
||
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||
|
cp -vf target/release/pikman-update-manager $(DESTDIR)/usr/bin/
|
||
|
cp -vf target/release/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||
|
cp -vf target/release/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||
|
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||
|
#cp -vf data/com.github.pikaos-linux.pikagnomelayouts.desktop $(DESTDIR)/usr/share/applications/
|
||
|
#cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||
|
chmod 755 $(DESTDIR)/usr/bin/pika-pikman-update-manager
|
||
|
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|