-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (20 loc) · 864 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
XRESOURCES=${DESTDIR}/etc/X11/xdm/Xresources
HilDE:
@echo "HilDE is a Lightweight Desktop Environment"
@echo " On Debian based systems run 'make debsetup' before installing."
@echo " If you are installing this manually, you should run 'make backup' first."
install: .install
.install:
chmod a+x files/usr/bin/hilde-logout
chmod u+x files/etc/skel/.xinitrc
cp -a files/* "${DESTDIR}"
debsetup:
sed -i 's/reboot/sudo reboot/' files/usr/bin/hilde-logout
sed -i 's/shutdown/sudo shutdown/' files/usr/bin/hilde-logout
mv files/etc/skel/.xinitrc files/etc/skel/.Xsession
mkdir files/usr/share/X11
mv files/usr/share/xdm files/usr/share/X11
sed -i s.share/xdm.share/X11/xdm. files/etc/X11/xdm/Xresources
### Unnecessary:
backup:
cp ${XRESOURCES} ${XRESOURCES}.old-`date +%F`