# 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-3.2.1.

diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,6 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/test/include \
 	$(CXXFLAGS_UNITTESTS)

-dist_doc_DATA = AUTHORS README.md
 nodist_pkgconf_DATA = misc/mdds-@MDDS_API_VERSION@.pc

 DISTCLEANFILES = \
@@ -19,8 +18,6 @@ DISTCLEANFILES = \

 EXTRA_DIST = \
 	autogen.sh \
-	CHANGELOG \
-	LICENSE \
 	doc/_static/images/fst-example1-initial.svg \
 	doc/_static/images/fst-example1-initial.svg.license \
 	doc/_static/images/fst-example1-insert1.svg \
@@ -99,14 +96,6 @@ EXTRA_DIST = \
 	misc/sorted_string_data.dat \
 	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:
