summaryrefslogtreecommitdiff
path: root/ppdc
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2016-04-12 06:52:27 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2016-04-12 06:52:27 -0400
commit27453efb8716d3d28f2d79ab0895eae484868168 (patch)
tree9eccf70db6615c582088c167a6a6994b69a2bf81 /ppdc
parente1f89675999593bcd8571dc64fd7e01d388c7ee6 (diff)
downloadcups-27453efb8716d3d28f2d79ab0895eae484868168.tar.gz
Move CGI, PPD compiler, and MIME heades to the private headers directory.
Diffstat (limited to 'ppdc')
-rw-r--r--ppdc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile
index f693fc4ec..098029fff 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -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
#