commit b861d06e8c4522f9c58aa16fedfbfa4ed37b283d
parent 62fef7c32ae7d7ce9dd23c05e92e620a0ae043de
Author: mrgrouse <bdmfegys@duck.com>
Date: Mon, 23 Sep 2024 18:17:44 -0400
Makefile: add TODO comment for fixing the install with XDG dirs under sudo issue, and apply proper permissions to restarter script upon installation
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -41,6 +41,7 @@ dist: clean
rm -rf birdwm-${VERSION}
install: all
+ # TODO: fix next line so XDG_DATA_HOME gets the user's XDG_DATA_HOME, possibly with `configure` script (?)
cp -r autostart ${XDG_DATA_HOME}/birdwm
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f birdwm ${DESTDIR}${PREFIX}/bin
@@ -53,6 +54,7 @@ install: all
cp -f extras/volume.sh ${DESTDIR}${PREFIX}/bin
cp -f extras/restarter ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/volume.sh
+ chmod 755 ${DESTDIR}${PREFIX}/bin/restarter
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/birdwm\