]> rtime.felk.cvut.cz Git - novaboot.git/blobdiff - Makefile
Add sudoers template
[novaboot.git] / Makefile
index 9ebd017f3387c7fea6e5d794bc8347129d1dac68..1565579adbe384c822f7cf6727e86db2537baeb4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,8 @@ install:
        install -m 755 novaboot $(DESTDIR)$(PREFIX)/bin
        install -d $(DESTDIR)$(PREFIX)/share/man/man1/
        pod2man novaboot $(DESTDIR)$(PREFIX)/share/man/man1/novaboot.1
+       install -d $(DESTDIR)/etc/sudoers.d
+       install -m 440 sudoers.novaboot $(DESTDIR)/etc/sudoers.d/novaboot
 
 test:
        $(MAKE) -C tests