]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Drop API help for CGI, MIME, and PPD compiler libraries.
[thirdparty/cups.git] / scheduler / Makefile
index d6e9dc2182c4414e7a0e6bcc4958f19e8321b206..715d88fddaa3830ce68f665fdd0b3737150befcb 100644 (file)
@@ -1,9 +1,7 @@
 #
-# "$Id$"
-#
 # 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
@@ -149,8 +147,6 @@ install-data:
        $(INSTALL_DIR) -m 755 $(SERVERBIN)/driver
        echo Creating $(SERVERROOT)...
        $(INSTALL_DIR) -m 755 -g $(CUPS_GROUP) $(SERVERROOT)
-       echo Creating $(SERVERROOT)/interfaces...
-       $(INSTALL_DIR) -m 755 -g $(CUPS_GROUP) $(SERVERROOT)/interfaces
        echo Creating $(SERVERROOT)/ppd...
        $(INSTALL_DIR) -m 755 -g $(CUPS_GROUP) $(SERVERROOT)/ppd
        if test "x`uname`" != xDarwin; then \
@@ -245,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
 
 
 #
@@ -309,8 +307,10 @@ uninstall:
        $(RM) $(LIBDIR)/libcupsmime.so
        $(RM) $(LIBDIR)/libcupsmime.so.1
        -$(RMDIR) $(LIBDIR)
-       $(RM) $(INCLUDEDIR)/cups/mime.h
-       -$(RMDIR) $(INCLUDEDIR)/cups
+       -if test "x$(privateinclude)" != x; then \
+               $(RM) $(PRIVATEINCLUDE)/mime.h; \
+               $(RMDIR) $(PRIVATEINCLUDE); \
+       fi
        if test "x$(INITDIR)" != x; then \
                echo Uninstalling init scripts...; \
                $(RM) $(BUILDROOT)$(INITDIR)/init.d/cups; \
@@ -350,28 +350,6 @@ uninstall:
        fi
 
 
-#
-# Automatic API help files...
-#
-
-apihelp:
-       mxmldoc --section "Programming" \
-               --title "MIME API" \
-               --css ../doc/cups-printable.css \
-               --header api-mime.header --intro api-mime.shtml \
-               mime.h $(LIBOBJS:.o=.c) >../doc/help/api-mime.html
-       mxmldoc --tokens help/api-mime.html api-mime.xml >../doc/help/api-mime.tokens
-       $(RM) api-mime.xml
-
-framedhelp:
-       mxmldoc --framed api-mime \
-               --section "Programming" \
-               --title "MIME API" \
-               --css ../doc/cups-printable.css \
-               --header api-mime.header --intro api-mime.shtml \
-               mime.h $(LIBOBJS:.o=.c)
-
-
 #
 # Make the scheduler executable, "cupsd".
 #
@@ -551,8 +529,3 @@ sloc:
 #
 
 include Dependencies
-
-
-#
-# End of "$Id$".
-#