Commit aaadba2a authored by Ondřej Surý's avatar Ondřej Surý

Use autoconf to replace @VERSION@ in manpages

parent 01b28df0
......@@ -310,5 +310,11 @@ AC_CONFIG_FILES([Makefile
src/zscanner/test/cases/06-3_INCLUDE.in:src/zscanner/test/cases/06-3_INCLUDE.inin
src/zscanner/test/cases/06-4_INCLUDE.in:src/zscanner/test/cases/06-4_INCLUDE.inin
src/zscanner/test/cases/06-0_INCLUDE.in:src/zscanner/test/cases/06-0_INCLUDE.inin
man/khost.1
man/knotc.8
man/knotd.8
man/kdig.1
man/knsupdate.1
man/knot.conf.5
])
AC_OUTPUT
MANPAGES = knot.conf.5 knotc.8 knotd.8 kdig.1 khost.1 knsupdate.1
.5in.5:
$(SED) 's;\@VERSION\@;@VERSION@;g' $< > $@
.8in.8:
$(SED) 's;\@VERSION\@;@VERSION@;g' $< > $@
dist_man_MANS = $(MANPAGES)
CLEANFILES = $(MANPAGES)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment