+ install -d -m 755 $(DESTDIR)/var/lib/nodemanager
+ install -D -m 644 logrotate/nodemanager $(DESTDIR)/etc/logrotate.d/nodemanager
+ install -D -m 755 sshsh $(DESTDIR)/bin/sshsh
+ mkdir -p $(DESTDIR)/$(datadir)/NodeManager/sliver-initscripts
+ rsync -av sliver-initscripts/ $(DESTDIR)/$(datadir)/sliver-initscripts/
+ chmod 755 $(DESTDIR)/$(datadir)/sliver-initscripts/
+
+ifneq "$use_systemd" ""
+install-startup: install-systemd
+else
+install-startup: install-init
+endif
+
+install-init:
+ mkdir -p $(DESTDIR)$(initdir)
+ chmod 755 initscripts/*
+ rsync -av initscripts/ $(DESTDIR)$(initdir)/
+
+install-systemd:
+ mkdir -p $(DESTDIR)/$(systemddir)
+ rsync -av systemd/ $(DESTDIR)/$(systemddir)