From 9aa5c7bf169533ad2860f554d2af49c958e267c4 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Tue, 1 Dec 2020 17:21:43 -0600 Subject: [PATCH] Standardize install path for mimeapps.list to use $PREFIX --- Makefile | 7 +++++-- {usr/share/applications => configs/xdg}/mimeapps.list | 0 2 files changed, 5 insertions(+), 2 deletions(-) rename {usr/share/applications => configs/xdg}/mimeapps.list (100%) diff --git a/Makefile b/Makefile index 70fea1e..7d78732 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,7 @@ install: $(PROGRAMS) mkdir -p $(PREFIX)/usr/share/sxmo cp -r configs/* $(PREFIX)/usr/share/sxmo - cp -r usr/* /usr/ - + # Configs mkdir -p $(PREFIX)/etc/alsa/conf.d/ cp configs/alsa/alsa_sxmo_enable_dmix.conf $(PREFIX)/etc/alsa/conf.d/ @@ -47,6 +46,10 @@ install: $(PROGRAMS) mkdir -p $(PREFIX)/etc/udev/rules.d cp configs/udev/*.rules $(PREFIX)/etc/udev/rules.d/ + mkdir -p $(PREFIX)/usr/share/applications/ + cp configs/xdg/mimeapps.list $(PREFIX)/usr/share/applications/ + + # Bin mkdir -p $(PREFIX)/usr/bin cp scripts/*/* $(PREFIX)/usr/bin diff --git a/usr/share/applications/mimeapps.list b/configs/xdg/mimeapps.list similarity index 100% rename from usr/share/applications/mimeapps.list rename to configs/xdg/mimeapps.list