~kt/udprelay

504ff543f01ba8852be77c3c249558d4fa9d27c6 — Katie Wolfe 11 months ago 8aabdee
Add version footers to man pages
3 files changed, 6 insertions(+), 2 deletions(-)

M Makefile
M udprelay.1.scd
M udprelay.7.scd
M Makefile => Makefile +4 -0
@@ 31,7 31,11 @@ list-binary-targets:
	@echo $(PLATFORMS)

%: %.scd
ifdef VERSION
	sed '1 s/v\([0-9]\+\.\)\{2\}[0-9]\+/$(VERSION)/' $< | scdoc > $@
else
	scdoc < $< > $@
endif

.PHONY: docs
docs: udprelay.1 udprelay.7

M udprelay.1.scd => udprelay.1.scd +1 -1
@@ 1,4 1,4 @@
udprelay(1)
udprelay(1) "udprelay v1.0.0"

# NAME


M udprelay.7.scd => udprelay.7.scd +1 -1
@@ 1,4 1,4 @@
udprelay(7)
udprelay(7) "udprelay v1.0.0"

# NAME