]> rtime.felk.cvut.cz Git - novaboot.git/blob - server/Makefile
server: Split documentation to separate files
[novaboot.git] / server / Makefile
1 PREFIX=/usr
2
3 all: adduser-novaboot.8 novaboot-shell.1
4
5 adduser-novaboot.8: adduser-novaboot.pod
6         pod2man --section=8 --center="System Manager's Manual" $< $@
7
8 novaboot-shell.1: novaboot-shell.pod
9         pod2man --center="User commands" $< $@
10
11 install: all
12         install -D -m 755 -t $(DESTDIR)$(PREFIX)/bin novaboot-shell
13         install -D -m 644 -t $(DESTDIR)$(PREFIX)/share/man/man1 novaboot-shell.1
14         install -D -m 755 -t $(DESTDIR)$(PREFIX)/sbin adduser-novaboot
15         install -D -m 644 -t $(DESTDIR)$(PREFIX)/share/man/man8 adduser-novaboot.8
16         install -D -m 644 -t $(DESTDIR)$(PREFIX)/lib/sysusers.d sysusers.d/novaboot-server.conf
17         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-power-off@.service
18         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-power-off@.timer
19         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-power@.service
20         install -D -m 644 -t $(DESTDIR)/usr/lib/systemd/user systemd/novaboot-delayed-power-off.service
21         install -D -m 440 systemd/sudoers.novaboot-server $(DESTDIR)/etc/sudoers.d/novaboot-server
22         install -D -m 755 -t $(DESTDIR)$(PREFIX)/sbin systemd/novaboot-power