--- a/Makefile.am +++ b/Makefile.am @@ -94,7 +94,7 @@ CLEANFILES = $(VC14_LIBVCXPROJ) $(VC14_S bin_SCRIPTS = curl-config SUBDIRS = lib docs src scripts -DIST_SUBDIRS = $(SUBDIRS) tests packages include docs +DIST_SUBDIRS = $(SUBDIRS) packages include pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libcurl.pc @@ -203,12 +203,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: