From: Ralph Ronnquist Date: Sat, 26 Mar 2022 08:58:00 +0000 (+1100) Subject: adding man pages X-Git-Tag: deb_0.1~14 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=a8412a5c4ccf1c390b8c0325b4d9c8088de25586;p=rrq%2Foverlay-boot.git adding man pages --- diff --git a/Makefile b/Makefile index c12a439..eeba636 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SBINCFILES = #SBINFILES = overlay-boot overlay-go overlay-stop ETCFILES = MAN1FILES = -MAN8FILES = +MAN8FILES = overlay-boot.8 overlay-go.8 overlay-stop.8 HTMLDOC = $(MAN8FILES:%=%.html) VARLIBFILES = overlay-boot overlay-go overlay-stop functions reaper @@ -17,18 +17,18 @@ all: asm/reaper asm/reaper: $(MAKE) -C asm reaper -$(VARLIBDIR)/: +overlay-boot.8: README.adoc + a2x -d manpage -f manpage $^ + +$(addprefix $(MAN8DIR)/,$(MAN8FILES)): overlay-boot.8 | $(MAN8DIR)/ + cp $< $@ + +$(MAN8DIR)/ $(VARLIBDIR)/: mkdir -p $@ $(addprefix $(VARLIBDIR)/,$(VARLIBFILES)): $(VARLIBDIR)/%: % | $(VARLIBDIR)/ cp -p $< $@ -#$(SBINDIR)/: -# mkdir -p $@ -# -#$(addprefix $(SBINDIR)/,$(SBINFILES)): $(SBINDIR)/%: $(VARLIBDIR)/% | $(SBINDIR)/ -# ln -sTf $< $@ - $(VARLIBDIR)/reaper: asm/reaper cp $< $@