# Nils Freydank <holgersson@posteo.de> (2020-01-08)
Avoid auto installation of files we install later manually.
Adopted from asturm's patch for mdds-1.4.3.
Updated for mdds-4.0.0: its Makefile.am no longer lists CHANGELOG and LICENSE
in EXTRA_DIST, so that hunk of the 3.2.1 patch is gone.

--- a/Makefile.am	2026-11-09 17:38:38.000000000 -0300
+++ b/Makefile.am	2026-11-20 10:03:30.306986861 -0300
@@ -11,7 +11,6 @@
 	-I$(top_srcdir)/test/include \
 	$(CXXFLAGS_UNITTESTS)
 
-dist_doc_DATA = AUTHORS README.md
 nodist_pkgconf_DATA = misc/mdds-@MDDS_API_VERSION@.pc
 
 DISTCLEANFILES = \
@@ -125,14 +124,6 @@
 	misc/sorted_string_data.dat.license \
 	misc/sorted_string_map_perf.cpp
 
-install-data-local:
-	$(MKDIR_P) $(DESTDIR)$(docdir)
-	$(INSTALL_DATA) $(top_srcdir)/LICENSE $(DESTDIR)$(docdir)/COPYING
-	$(INSTALL_DATA) $(top_srcdir)/CHANGELOG $(DESTDIR)$(docdir)/NEWS
-
-uninstall-local:
-	rm -f $(DESTDIR)$(docdir)/COPYING $(DESTDIR)$(docdir)/NEWS
-
 if BUILD_DOCS
 
 doc-doxygen:
