mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Hardcoding xsessions directory to /usr/share/xsessions as suggested in #317
This commit is contained in:
parent
668e18fddf
commit
f0ad1117ba
8
Makefile
8
Makefile
@ -65,13 +65,13 @@ endif
|
||||
mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/xsession
|
||||
cp -n dwm.desktop ${DESTDIR}${PREFIX}/share/xsession
|
||||
chmod 644 ${DESTDIR}${PREFIX}/share/xsession/dwm.desktop
|
||||
sudo mkdir -p /usr/share/xsessions
|
||||
sudo cp -n dwm.desktop /usr/share/xsessions
|
||||
sudo chmod 644 /usr/share/xsessions/dwm.desktop
|
||||
|
||||
uninstall:
|
||||
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
|
||||
${DESTDIR}${MANPREFIX}/man1/dwm.1\
|
||||
${DESTDIR}${PREFIX}/share/xsession/dwm.desktop
|
||||
/usr/share/xsessions/dwm.desktop
|
||||
|
||||
.PHONY: all options clean dist install uninstall
|
||||
|
Loading…
Reference in New Issue
Block a user