backlight: don't build static; applesmc: don't install with suid
This commit is contained in:
parent
2af3d8c5c4
commit
732eed7dab
4
Makefile
4
Makefile
@ -14,7 +14,7 @@ all: applesmc backlight
|
||||
applesmc: applesmc.c Makefile
|
||||
gcc -DVERSION=\"$(VERSION)\" -Wall applesmc.c -o applesmc
|
||||
backlight: backlight.c Makefile
|
||||
gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci -static
|
||||
gcc -DVERSION=\"$(VERSION)\" -Wall backlight.c -o backlight -lpci
|
||||
|
||||
install: backlight applesmc
|
||||
install -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INITDIR)
|
||||
@ -22,7 +22,7 @@ install: backlight applesmc
|
||||
install -d $(DESTDIR)$(SBIN) $(DESTDIR)$(SBINDIR)
|
||||
install -d $(DESTDIR)$(SYSCONFDIR)/sysconfig
|
||||
install -d $(DESTDIR)/lib/systemd/system
|
||||
install -s -m 4755 applesmc $(DESTDIR)$(BINDIR)
|
||||
install -s -m 0755 applesmc $(DESTDIR)$(BINDIR)
|
||||
install -s -m 4755 backlight $(DESTDIR)$(BINDIR)
|
||||
install -m 0755 macbook-set-input $(DESTDIR)$(BINDIR)/
|
||||
install -m 0644 applesmcd.service $(DESTDIR)/lib/systemd/system/applesmcd.service
|
||||
|
Loading…
Reference in New Issue
Block a user