]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Move CGI, PPD compiler, and MIME heades to the private headers directory.
[thirdparty/cups.git] / scheduler / Makefile
index 3f707ae08fb09a2cb041c87a3171037068e7065d..8b21f993a272493564e04ba8c271d25200aa4692 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Scheduler Makefile for CUPS.
 #
-# Copyright 2007-2015 by Apple Inc.
+# Copyright 2007-2016 by Apple Inc.
 # Copyright 1997-2007 by Easy Software Products, all rights reserved.
 #
 # These coded instructions, statements, and computer programs are the
@@ -241,9 +241,11 @@ install-exec:
 #
 
 install-headers:
-       echo Installing header files in $(INCLUDEDIR)/cups...
-       $(INSTALL_DIR) -m 755 $(INCLUDEDIR)/cups
-       $(INSTALL_DATA) mime.h $(INCLUDEDIR)/cups
+       if test "x$(privateinclude)" != x; then \
+               echo Installing private header files into $(PRIVATEINCLUDE)...; \
+               $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \
+               $(INSTALL_DATA) mime.h $(PRIVATEINCLUDE); \
+       fi
 
 
 #