Revert "add a configurable daemon that warns on low battery"
This reverts commit c7e0e3b656
.
Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
parent
1f563dd873
commit
ccc6223c1b
5 changed files with 1 additions and 128 deletions
11
Makefile
11
Makefile
|
@ -5,7 +5,6 @@ PREFIX:=/usr
|
|||
PROGRAMS = \
|
||||
programs/sxmo_setpineled \
|
||||
programs/sxmo_megiaudioroute \
|
||||
programs/sxmo_batterymonitor \
|
||||
programs/sxmo_vibratepine
|
||||
|
||||
all: $(PROGRAMS)
|
||||
|
@ -24,11 +23,8 @@ programs/sxmo_megiaudioroute: programs/sxmo_megiaudioroute.c
|
|||
programs/sxmo_vibratepine: programs/sxmo_vibratepine.c
|
||||
gcc -o programs/sxmo_vibratepine programs/sxmo_vibratepine.c
|
||||
|
||||
programs/sxmo_batterymonitor: programs/sxmo_batterymonitor.c
|
||||
gcc -o programs/sxmo_batterymonitor programs/sxmo_batterymonitor.c
|
||||
|
||||
clean:
|
||||
rm -f programs/sxmo_setpineled programs/sxmo_megiaudioroute programs/sxmo_vibratepine programs/sxmo_batterymonitor
|
||||
rm -f programs/sxmo_setpineled programs/sxmo_megiaudioroute programs/sxmo_vibratepine
|
||||
|
||||
install: $(PROGRAMS)
|
||||
cd configs && find . -type f -exec install -D -m 0644 "{}" "$(DESTDIR)$(PREFIX)/share/sxmo/{}" \; && cd ..
|
||||
|
@ -45,8 +41,6 @@ install: $(PROGRAMS)
|
|||
|
||||
install -D -m 0644 -t $(DESTDIR)$(PREFIX)/share/applications/ configs/xdg/mimeapps.list
|
||||
|
||||
install -D -m 0644 -t $(DESTDIR)/etc/sudoers.d/ configs/sudo/poweroff
|
||||
|
||||
install -D -m 0644 -T configs/xorg/monitor.conf $(DESTDIR)$(PREFIX)/share/X11/xorg.conf.d/90-monitor.conf
|
||||
|
||||
mkdir -p $(DESTDIR)/etc/NetworkManager/dispatcher.d
|
||||
|
@ -56,12 +50,9 @@ install: $(PROGRAMS)
|
|||
# Bin
|
||||
install -D -t $(DESTDIR)$(PREFIX)/bin scripts/*/*
|
||||
|
||||
install -D -m 0755 programs/sxmo_batterymonitor $(DESTDIR)$(PREFIX)/bin/
|
||||
|
||||
install -D -m 0755 programs/sxmo_setpineled $(DESTDIR)$(PREFIX)/bin/
|
||||
|
||||
install -D programs/sxmo_megiaudioroute $(DESTDIR)$(PREFIX)/bin/
|
||||
|
||||
install -D programs/sxmo_vibratepine $(DESTDIR)$(PREFIX)/bin/
|
||||
|
||||
echo "NOTICE: Do not forget to add sxmo-setpermissions to your init system, e.g. for openrc: rc-update add sxmo-setpermissions default && rc-service sxmo-setpermissions start" >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue