docs are dist_doc_DATA. They should be installed to /usr/share/doc.
* Makefile.am (dist_pkgdata_DATA): Remove COPYING, README.md.
* Makefile.am (dist_doc_DATA): Add COPYING, README.md.
* doc/Makefile.am (dist_pkgdata_DATA): Remove LICENSING.txt,
README.txt, README_stack.txt, README_malloc.txt, README_win32.txt.
* doc/Makefile.am (dist_doc_DATA): Add LICENSING.txt,
README.txt, README_stack.txt, README_malloc.txt, README_win32.txt.
pkgconfig_DATA = pkgconfig/atomic_ops.pc
noinst_DATA = pkgconfig/atomic_ops-uninstalled.pc
-dist_pkgdata_DATA = COPYING README.md
+dist_doc_DATA = COPYING README.md
EXTRA_DIST = autogen.sh
# installed documentation
#
-dist_pkgdata_DATA=LICENSING.txt README.txt README_stack.txt \
+dist_doc_DATA = LICENSING.txt README.txt README_stack.txt \
README_malloc.txt README_win32.txt