fix Makefile
This commit is contained in:
parent
f872aa4cf4
commit
9976094164
6
Makefile
6
Makefile
@ -7,9 +7,7 @@ all:
|
||||
install:
|
||||
install -d $(DESTDIR)/$(PREFIX)/usr/sbin
|
||||
install -m0755 ./nohang $(DESTDIR)/$(PREFIX)/usr/sbin/nohang
|
||||
|
||||
install -d $(DESTDIR)/$(PREFIX)/usr/bin
|
||||
install -m0755 ./nohang_notify_helper $(DESTDIR)/$(PREFIX)/usr/bin/nohang_notify_helper
|
||||
install -m0755 ./nohang_notify_helper $(DESTDIR)/$(PREFIX)/usr/sbin/nohang_notify_helper
|
||||
|
||||
install -d $(DESTDIR)/$(PREFIX)/usr/bin
|
||||
install -m0755 ./oom-sort $(DESTDIR)/$(PREFIX)/usr/bin/oom-sort
|
||||
@ -31,7 +29,7 @@ uninstall:
|
||||
# 'make uninstall' must not fail with error if systemctl is unavailable or returns error
|
||||
systemctl disable nohang.service || true
|
||||
rm -fv $(PREFIX)/usr/sbin/nohang
|
||||
rm -fv $(PREFIX)/usr/bin/nohang_notify_helper
|
||||
rm -fv $(PREFIX)/usr/sbin/nohang_notify_helper
|
||||
rm -fv $(PREFIX)/usr/bin/oom-sort
|
||||
rm -fv $(PREFIX)/usr/bin/oom-trigger
|
||||
rm -fv $(PREFIX)/usr/share/man/man1/nohang.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user