This is only for old versions of automake, and won't work for ancient
SuSe.
Signed-off-by: Sage Weil <sage@newdream.net>
$(ceph_tool_gui_DATA)
# work around old versions of automake that don't define $docdir
-docdir = ${datadir}/doc/ceph
+# NOTE: this won't work on suse, where docdir is /usr/share/doc/packages/$package.
+docdir ?= ${datadir}/doc/ceph
+
doc_DATA = $(srcdir)/sample.ceph.conf
doc_SCRIPTS = sample.fetch_config