summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-01-23 12:58:47 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-01-23 12:58:47 -0500
commit6bf37cc8c0b28a9e139d253eff01b5851c233058 (patch)
treed0d5ced5a104abdcfb7810b44fff2fcf704016a9 /Makefile
parent083672b18ce39071613f0924df904ef91b65ded2 (diff)
downloadcups-6bf37cc8c0b28a9e139d253eff01b5851c233058.tar.gz
Make sure config.h gets installed with the private headers, as needed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5bf14cc5d..ae6cf3774 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
#