]> rtime.felk.cvut.cz Git - novaboot.git/blob - server/Makefile
44d31110930df32b116c15967448436b77d8e8bf
[novaboot.git] / server / Makefile
1 PREFIX=/usr
2
3 all: adduser-novaboot.8 novaboot-shell.1
4
5 adduser-novaboot.8: adduser-novaboot
6         pod2man --section=8 --center="System Manager's Manual" $< $@
7
8 novaboot-shell.1: novaboot-shell
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-target-off@.target
18         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-target-off@.timer
19         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-target-on@.service
20         install -D -m 644 -t $(DESTDIR)/lib/systemd/system systemd/novaboot-server-session@.service