summaryrefslogtreecommitdiff
path: root/ppdc
diff options
context:
space:
mode:
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
#