summaryrefslogtreecommitdiff
path: root/man/include.am
diff options
context:
space:
mode:
authorBrian Aker <brian@tangent.org>2014-02-16 03:31:04 -0800
committerBrian Aker <brian@tangent.org>2014-02-16 03:31:04 -0800
commit37deb7fa75a0b3fbea4d58c032446213f0d5a02a (patch)
tree999734df2e2c288d6726af31f9336beadb2a781a /man/include.am
parent8541a9863cffad457f4d583af6a6c3613250193d (diff)
parente0871342c7fdc7cb9c518d686aab4519c1bda764 (diff)
downloadlibmemcached-37deb7fa75a0b3fbea4d58c032446213f0d5a02a.tar.gz
Merge from 1.0
Diffstat (limited to 'man/include.am')
-rw-r--r--man/include.am8
1 files changed, 4 insertions, 4 deletions
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