]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Remove private include functionality (Issue #119)
authorMichael R Sweet <msweet@msweet.org>
Sun, 7 Mar 2021 19:49:38 +0000 (14:49 -0500)
committerMichael R Sweet <msweet@msweet.org>
Sun, 7 Mar 2021 19:49:38 +0000 (14:49 -0500)
Makedefs.in
cups/Makefile

index b4ceff05724cd7cc65c1fe31bf5561c8d828d19f..2bf60cfb03de828403949f0043e078694f4c5be7 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Common makefile definitions for CUPS.
 #
+# Copyright © 2021 by OpenPrinting.
 # Copyright © 2007-2019 by Apple Inc.
 # Copyright © 1997-2007 by Easy Software Products, all rights reserved.
 #
@@ -215,7 +216,6 @@ localstatedir       =       @localstatedir@
 mandir         =       @mandir@
 oldincludedir  =       @oldincludedir@
 prefix         =       @prefix@
-privateinclude =       @privateinclude@
 sbindir                =       @sbindir@
 sharedstatedir =       @sharedstatedir@
 srcdir         =       @srcdir@
@@ -236,7 +236,6 @@ LOCALEDIR   =       $(BUILDROOT)@CUPS_LOCALEDIR@
 LOGDIR         =       $(BUILDROOT)@CUPS_LOGDIR@
 MANDIR         =       $(BUILDROOT)@mandir@
 MENUDIR                =       @MENUDIR@
-PRIVATEINCLUDE =       $(BUILDROOT)@PRIVATEINCLUDE@
 RCLEVELS       =       @RCLEVELS@
 RCSTART                =       @RCSTART@
 RCSTOP         =       @RCSTOP@
index a49747e261d405e4a6ad9433ef408824232c5eda..43b2335347afff4bc6eeeb7dd95beb8036855fbf 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Library Makefile for CUPS.
 #
+# Copyright © 2021 by OpenPrinting.
 # Copyright © 2007-2019 by Apple Inc.
 # Copyright © 1997-2006 by Easy Software Products, all rights reserved.
 #
@@ -277,13 +278,6 @@ install-headers:
        for file in $(HEADERS); do \
                $(INSTALL_DATA) $$file $(INCLUDEDIR)/cups; \
        done
-       if test "x$(privateinclude)" != x; then \
-               echo Installing private header files into $(PRIVATEINCLUDE)...; \
-               $(INSTALL_DIR) -m 755 $(PRIVATEINCLUDE); \
-               for file in $(HEADERSPRIV); do \
-                       $(INSTALL_DATA) $$file $(PRIVATEINCLUDE)/$$file; \
-               done; \
-       fi
 
 
 #
@@ -353,12 +347,6 @@ uninstall:
                $(RM) $(INCLUDEDIR)/cups/$$file; \
        done
        -$(RMDIR) $(INCLUDEDIR)/cups
-       if test "x$(privateinclude)" != x; then \
-               for file in $(HEADERSPRIV); do \
-                       $(RM) $(PRIVATEINCLUDE)/cups/$$file; \
-               done
-               $(RMDIR) $(PRIVATEINCLUDE)/cups; \
-       fi
 
 
 #