diff options
author | Jeremy Kerr <jeremy.kerr@canonical.com> | 2012-06-11 14:37:33 +0800 |
---|---|---|
committer | Jeremy Kerr <jeremy.kerr@canonical.com> | 2012-06-11 14:37:33 +0800 |
commit | 9786761e4f17797d59f17411ac8e8a9685ead446 (patch) | |
tree | 3673db1c4f1223575993ed506e99741d40996183 | |
parent | b0619274fd4405d7ad46bc7b0a38727d843ee55c (diff) | |
download | sbsigntools-9786761e4f17797d59f17411ac8e8a9685ead446.tar.gz |
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>
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 7386f24..79a1316 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 9b94080..669b027 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |