From: Michael R Sweet Date: Wed, 23 Jan 2019 17:58:47 +0000 (-0500) Subject: Make sure config.h gets installed with the private headers, as needed. X-Git-Tag: v2.3b8~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf37cc8c0b28a9e139d253eff01b5851c233058;p=thirdparty%2Fcups.git Make sure config.h gets installed with the private headers, as needed. --- diff --git a/Makefile b/Makefile index 5bf14cc5d7..ae6cf37746 100644 --- a/Makefile +++ b/Makefile @@ -197,6 +197,11 @@ install-headers: echo Installing header files in $$dir... ;\ (cd $$dir; $(MAKE) $(MFLAGS) install-headers) || exit 1;\ done + if test "x$(privateinclude)" != x; then \ + echo Installing config.h into $(PRIVATEINCLUDE)...; \ + $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \ + $(INSTALL_DATA) config.h $(PRIVATEINCLUDE)/config.h; \ + fi #