From 3ed3ae5bcfaf1dcc09677b2ae1e012ec227a6372 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 27 Jun 2003 14:37:38 +0000 Subject: [PATCH] When I introduced the DIST_SUBDIRS usage, I broken the 'make install' for include files and docs, so now I've added a custom install hook to run make install for docs and install when data is installed at the top-level. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index f6c16f9a9..9b6ff5284 100644 --- a/Makefile.am +++ b/Makefile.am @@ -78,3 +78,8 @@ pkgadd: # resulting .tar.bz2 file will end up at packages/Win32/cygwin cygwinbin: $(MAKE) -C packages/Win32/cygwin cygwinbin + +# We extend the standard install with a custom hook: +install-data-hook: + cd include && $(MAKE) install + cd docs && $(MAKE) install