2024-02-18 13:37:33 +01:00
|
|
|
export PATH := $(PWD):$(PATH)
|
|
|
|
|
2024-01-30 21:33:07 +01:00
|
|
|
all:
|
|
|
|
true
|
|
|
|
|
|
|
|
install:
|
2024-02-25 18:14:20 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
2024-01-30 21:33:07 +01:00
|
|
|
cargo fetch
|
|
|
|
cargo build --release
|
2024-02-23 22:28:26 +01:00
|
|
|
cp -vf target/release/pika-welcome $(DESTDIR)/usr/bin/
|
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-welcome
|
2024-02-25 18:39:54 +01:00
|
|
|
cp -vf data/bin/pika-welcome-autostart $(DESTDIR)/usr/bin/
|
2024-09-01 09:18:29 +02:00
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-welcome-autostart
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/
|
|
|
|
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/
|
|
|
|
cp -rvf locales /usr/lib/pika/pika-welcome/
|
|
|
|
chmod 755 $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/*.sh
|
|
|
|
cp data/com.github.pikaos-linux.pikawelcome.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
|
|
|
cp -vf data/com.github.pikaos-linux.pikawelcome.desktop $(DESTDIR)/usr/share/applications/
|
|
|
|
mkdir -p $(DESTDIR)/etc/xdg/autostart
|
|
|
|
cp -vf data/pika-welcome-autostart.desktop $(DESTDIR)/etc/xdg/autostart/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
|
|
|
cp -vf data/com.github.pikaos-linux.pikawelcome.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
|
|
|
cp -rvf data/icons $(DESTDIR)/usr/share/
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/pika-welcome
|
|
|
|
cp -rvf data/config $(DESTDIR)/usr/share/pika-welcome/
|
|
|
|
|
|
|
|
install_no_build_debug:
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin/
|
|
|
|
cp -vf target/debug/pika-welcome $(DESTDIR)/usr/bin/
|
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-welcome
|
|
|
|
cp -vf data/bin/pika-welcome-autostart $(DESTDIR)/usr/bin/
|
2024-02-24 21:00:00 +01:00
|
|
|
chmod 755 $(DESTDIR)/usr/bin/pika-welcome-autostart
|
2024-01-30 21:33:07 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2024-02-24 21:00:00 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/
|
2024-02-23 22:28:26 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/
|
|
|
|
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/
|
2024-08-31 03:44:40 +02:00
|
|
|
cp -rvf locales /usr/lib/pika/pika-welcome/
|
2024-02-23 22:28:26 +01:00
|
|
|
chmod 755 $(DESTDIR)/usr/lib/pika/pika-welcome/scripts/*.sh
|
|
|
|
cp data/com.github.pikaos-linux.pikawelcome.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2024-01-30 21:33:07 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/applications
|
2024-02-23 22:28:26 +01:00
|
|
|
cp -vf data/com.github.pikaos-linux.pikawelcome.desktop $(DESTDIR)/usr/share/applications/
|
2024-02-24 21:00:00 +01:00
|
|
|
mkdir -p $(DESTDIR)/etc/xdg/autostart
|
|
|
|
cp -vf data/pika-welcome-autostart.desktop $(DESTDIR)/etc/xdg/autostart/
|
2024-01-30 21:33:07 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
2024-02-23 22:28:26 +01:00
|
|
|
cp -vf data/com.github.pikaos-linux.pikawelcome.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
2024-02-25 18:43:23 +01:00
|
|
|
cp -rvf data/icons $(DESTDIR)/usr/share/
|
2024-02-25 18:09:14 +01:00
|
|
|
mkdir -p $(DESTDIR)/usr/share/pika-welcome
|
2024-02-25 18:43:23 +01:00
|
|
|
cp -rvf data/config $(DESTDIR)/usr/share/pika-welcome/
|