projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
c++: fix -Wclass-memaccess
[awesomized/libmemcached]
/
man
/
include.am
diff --git
a/man/include.am
b/man/include.am
index 3b68557a7937836efb7dd92770c4043742f099ee..c676fcaf1de0125afb9d55cafee7bc01364b719f 100644
(file)
--- a/
man/include.am
+++ b/
man/include.am
@@
-2,18
+2,11
@@
# included from Top Level Makefile.am
# All paths should be given relative to the root
# included from Top Level Makefile.am
# All paths should be given relative to the root
-if HAVE_RECENT_SPHINX
-if IS_VCS_CHECKOUT
-
-dist-hook: man
+RST_FILES= $(shell find $(top_builddir)/docs/source -type f -name '*.rst')
# Build rule for documentation
# Build rule for documentation
-$(dist_man_MANS): man
-
-BUILT_SOURCES+= $(dist_man_MANS)
-
-endif
-endif
+$(dist_man_MANS): $(RST_FILES)
+ @cp docs/build/$@ $@
dist_man_MANS+= man/memaslap.1
dist_man_MANS+= man/memcapable.1
dist_man_MANS+= man/memaslap.1
dist_man_MANS+= man/memcapable.1