X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=man%2Finclude.am;h=c676fcaf1de0125afb9d55cafee7bc01364b719f;hb=f2a59b728c20f7fe78874dd41187ab3fb2db6c7e;hp=602cfa9680852f0d9711a5078f30027823cd4560;hpb=b073677225181b9ab525a8304cb2a2cdcaac0277;p=awesomized%2Flibmemcached 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