Standardize install path for mimeapps.list to use $PREFIX

master
Miles Alan 4 years ago
parent fadbe72039
commit 9aa5c7bf16
  1. 7
      Makefile
  2. 0
      configs/xdg/mimeapps.list

@ -36,8 +36,7 @@ install: $(PROGRAMS)
mkdir -p $(PREFIX)/usr/share/sxmo mkdir -p $(PREFIX)/usr/share/sxmo
cp -r configs/* $(PREFIX)/usr/share/sxmo cp -r configs/* $(PREFIX)/usr/share/sxmo
cp -r usr/* /usr/ # Configs
mkdir -p $(PREFIX)/etc/alsa/conf.d/ mkdir -p $(PREFIX)/etc/alsa/conf.d/
cp configs/alsa/alsa_sxmo_enable_dmix.conf $(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 mkdir -p $(PREFIX)/etc/udev/rules.d
cp configs/udev/*.rules $(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 mkdir -p $(PREFIX)/usr/bin
cp scripts/*/* $(PREFIX)/usr/bin cp scripts/*/* $(PREFIX)/usr/bin

Loading…
Cancel
Save