From f2a59b728c20f7fe78874dd41187ab3fb2db6c7e Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Sun, 16 Feb 2014 01:06:40 -0800 Subject: Fix for building docs. --- man/include.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man/include.am') diff --git a/man/include.am b/man/include.am index 602cfa96..c676fcaf 100644 --- a/man/include.am +++ b/man/include.am @@ -2,11 +2,11 @@ # included from Top Level Makefile.am # All paths should be given relative to the root -# Build rule for documentation -$(dist_man_MANS): $(top_srcdir)/configure.ac - $(MAKE) $(AM_MAKEFLAGS) man +RST_FILES= $(shell find $(top_builddir)/docs/source -type f -name '*.rst') -.NOTPARALLEL: $(dist_man_MANS) +# Build rule for documentation +$(dist_man_MANS): $(RST_FILES) + @cp docs/build/$@ $@ dist_man_MANS+= man/memaslap.1 dist_man_MANS+= man/memcapable.1 -- cgit v1.2.1