pika-first-setup/Makefile

22 lines
943 B
Makefile
Raw Permalink Normal View History

2024-02-18 13:37:33 +01:00
export PATH := $(PWD):$(PATH)
2024-01-30 21:33:07 +01:00
all:
true
install:
mkdir -p $(DESTDIR)/usr/bin/
cargo fetch
cargo build --release
cp -vf target/release/pika-first-setup-gtk4 $(DESTDIR)/usr/bin/
chmod 755 $(DESTDIR)/usr/bin/pika-first-setup-gtk4
2024-01-30 21:33:07 +01:00
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
2024-02-18 13:11:52 +01:00
mkdir -p $(DESTDIR)/usr/lib/pika/pika-first-setup-gtk4/scripts/
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-first-setup-gtk4/scripts/
chmod 755 $(DESTDIR)/usr/lib/pika/pika-first-setup-gtk4/scripts/*.sh
2024-01-31 19:48:55 +01:00
cp data/com.github.pikaos-linux.pikafirstsetup.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
2024-01-30 21:33:07 +01:00
mkdir -p $(DESTDIR)/usr/share/applications
2024-01-30 21:47:31 +01:00
cp -vf data/com.github.pikaos-linux.pikafirstsetup.desktop $(DESTDIR)/usr/share/applications/
2024-01-30 21:33:07 +01:00
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
2024-01-30 21:47:31 +01:00
cp -vf data/com.github.pikaos-linux.pikafirstsetup.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
2024-02-20 16:42:53 +01:00
#makepot $(DESTDIR)/usr/share/locale