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