--- a/Makefile.am +++ b/Makefile.am @@ -135,7 +135,7 @@ CLEANFILES = $(VC14_LIBVCXPROJ) $(VC14_S bin_SCRIPTS = curl-config SUBDIRS = lib docs src scripts -DIST_SUBDIRS = $(SUBDIRS) tests packages scripts include docs +DIST_SUBDIRS = $(SUBDIRS) packages include pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libcurl.pc @@ -244,12 +244,9 @@ cygwinbin: if BUILD_DOCS install-data-hook: (cd include && $(MAKE) install) - (cd docs && $(MAKE) install) - (cd docs/libcurl && $(MAKE) install) else install-data-hook: (cd include && $(MAKE) install) - (cd docs && $(MAKE) install) endif # We extend the standard uninstall with a custom hook: