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