Skip to content
Snippets Groups Projects
Commit 69b39d4c authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

man: move to subdirectory, insert version using autotools

parent 6eb640f1
No related branches found
No related tags found
No related merge requests found
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src samples doc
SUBDIRS = src samples doc man
......@@ -206,6 +206,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sched.h>]], [[cpuset_t* set = cpuset
AC_CONFIG_FILES([Makefile
samples/Makefile
src/Makefile
doc/Makefile])
src/Makefile
doc/Makefile
man/Makefile])
AC_OUTPUT
*.5
*.8
MANPAGES = knot.conf.5 knotc.8 knotd.8 kdig.8 khost.8 knsupdate.8
.5in.5:
$(SED) 's;\@VERSION\@;@VERSION@;g' $< > $@
.8in.8:
$(SED) 's;\@VERSION\@;@VERSION@;g' $< > $@
dist_man_MANS = $(MANPAGES)
CLEANFILES = $(MANPAGES)
.TH "kdig" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc3"
.TH "kdig" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH NAME
.B kdig
\- Advanced DNS lookup utility (libknot equivalent of ISC dig)
......
.TH "khost" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc3"
.TH "khost" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH NAME
.B khost
\- Simple DNS lookup utility (libknot equivalent of ISC host)
......
.TH "knot.conf" "5" "September 2012" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc4"
.TH "knot.conf" "5" "September 2012" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH "NAME"
.LP
.B knot.conf
......
.TH knotc "8" "September 2012" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc4"
.TH knotc "8" "September 2012" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH NAME
.B knotc
\- Knot DNS control utility
......
.TH "knotd" "8" "September 2012" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc4"
.TH "knotd" "8" "September 2012" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH NAME
.B knotd
\- Knot DNS daemon
......
.TH "knsupdate" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version 1.2.0-rc3"
.TH "knsupdate" "8" "April 2013" "CZ.NIC Labs" "Knot DNS, version @VERSION@"
.SH NAME
.TP 10
.B knsupdate
......
ACLOCAL_AMFLAGS = -I ../m4
libexec_PROGRAMS = unittests unittests-xfr unittests-zscanner unittests-libknot
sbin_PROGRAMS = knotc knotd kdig khost knsupdate
dist_man_MANS = knot.conf.5 knotc.8 knotd.8 kdig.8 khost.8 knsupdate.8
# $(YACC) will generate header file
AM_CFLAGS = -Wall -Ilibknot -DLIBEXECDIR='"$(libexecdir)"' -DSYSCONFDIR='"$(sysconfdir)"' -DSBINDIR='"$(sbindir)"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment