Browse Source

Fix makefile

nohooks-patch 0.3.2
M. Herdiansyah 4 years ago
parent
commit
086a8d908f
  1. 4
      Makefile

4
Makefile

@ -5,14 +5,14 @@ all:
install:
install -d $(DESTDIR)$(PREFIX)/bin
install -d $(DESTDIR)$(PREFIX)/share/libalpm/hook
install -d $(DESTDIR)$(PREFIX)/share/libalpm/hooks
install -d $(DESTDIR)$(PREFIX)/share/libalpm/scripts
install -m755 halt $(DESTDIR)$(PREFIX)/bin/halt
ln -sf halt $(DESTDIR)$(PREFIX)/bin/shutdown
ln -sf halt $(DESTDIR)$(PREFIX)/bin/poweroff
ln -sf halt $(DESTDIR)$(PREFIX)/bin/reboot
install -m755 initswitch $(DESTDIR)$(PREFIX)/bin/initswitch
install -m644 initswitch-hook $(DESTDIR)$(PREFIX)/share/libalpm/hook/initswitch.hook
install -m644 initswitch-hook $(DESTDIR)$(PREFIX)/share/libalpm/hooks/initswitch.hook
install -m755 initswitch-hook-script $(DESTDIR)$(PREFIX)/share/libalpm/scripts/initswitch
install -d $(DESTDIR)$(PREFIX)/share/man/man8
install -m644 halt.8 $(DESTDIR)$(PREFIX)/share/man/man8/halt.8