docs: Fix manpage creation
$(builddir) should be $(top_builddir), and we need a valid definition of MKDIR_P to create the docs. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
This commit is contained in:
parent
b0619274fd
commit
9786761e4f
2 changed files with 3 additions and 2 deletions
|
@ -19,8 +19,8 @@ man1_MANS = docs/sbsign.1 docs/sbverify.1
|
|||
|
||||
EXTRA_DIST = docs/sbsign.1.in docs/sbverify.1.in
|
||||
|
||||
$(builddir)/docs/%.1: $(srcdir)/docs/%.1.in $(builddir)/%
|
||||
$(top_builddir)/docs/%.1: $(srcdir)/docs/%.1.in $(top_builddir)/%
|
||||
$(MKDIR_P) $(@D)
|
||||
$(HELP2MAN) --no-info -i $< -o $@ $(builddir)/$*
|
||||
$(HELP2MAN) --no-info -i $< -o $@ $(top_builddir)/$*
|
||||
|
||||
SUBDIRS = lib/ccan
|
||||
|
|
|
@ -11,6 +11,7 @@ AC_PROG_CC
|
|||
AM_PROG_CC_C_O
|
||||
AC_PROG_CPP
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_MKDIR_P
|
||||
|
||||
if test $cross_compiling = no; then
|
||||
AM_MISSING_PROG(HELP2MAN, help2man)
|
||||
|
|
Loading…
Reference in a new issue