Add bind-mount for /etc/adjtime to make subhost use host clock without ado
[rrq/overlay-boot.git] / Makefile
index b12ee7038b1dc179de338f9ac918ff2acaaf6cc4..022b9ffa1960970da20d3668c6a5c975b533e5a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,11 @@ SBINDIR = $(DESTDIR)/usr/sbin
 VARLIBDIR = $(DESTDIR)/var/lib/overlay-boot
 
 MAN8FILES = overlay-boot.8 overlay-go.8 overlay-stop.8 overlay-diskfile.8
+MAN8FILES += overlay-share.8
 VARLIBFILES = overlay-boot overlay-go overlay-stop functions reaper
 VARLIBFILES += overlay-init overlay-postmount overlay-premount
 VARLIBFILES += overlay-diskfile
+VARLIBFILES += overlay-share
 INITFILES = subhosts
 ETCFILES = subhosts.conf
 
@@ -37,7 +39,7 @@ $(ETCDIR)/subhosts.conf: subhosts.conf | $(ETCDIR)/
 
 # Generic rule: a local .8 file depends on the same .8.adoc file, if any
 $(MAN8FILES): %: %.adoc
-       a2x -d manpage -f manpage $^
+       asciidoctor -b manpage $^
 
 # Generic rule: an installed MAN8FILE file depends on a local the
 # same, and that the installation directory exists
@@ -60,6 +62,7 @@ clean:
 INSTALLTARGETS += $(addprefix $(MAN8DIR)/,$(MAN8FILES))
 INSTALLTARGETS += $(addprefix $(VARLIBDIR)/,$(VARLIBFILES))
 INSTALLTARGETS += $(addprefix $(INITDIR)/,$(INITFILES))
+INSTALLTARGETS += $(addprefix $(ETCDIR)/,$(ETCFILES))
 
 install: $(INSTALLTARGETS)