]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - man/Makefile
Update ErrorPolicy in cupsd.conf man page (Issue #5301)
[thirdparty/cups.git] / man / Makefile
index 7599458d80cbaf5a9afafad1611b035bc5095b60..6911cbab0587773afef22907b814a73b81e20785 100644 (file)
@@ -1,25 +1,10 @@
 #
-# "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $"
+# Man page makefile for CUPS.
 #
-#   Man page makefile for the Common UNIX Printing System (CUPS).
+# Copyright 2007-2017 by Apple Inc.
+# Copyright 1993-2006 by Easy Software Products.
 #
-#   Copyright 1993-2006 by Easy Software Products.
-#
-#   These coded instructions, statements, and computer programs are the
-#   property of Easy Software Products and are protected by Federal
-#   copyright law.  Distribution and use rights are outlined in the file
-#   "LICENSE.txt" which should have been included with this file.  If this
-#   file is missing or damaged please contact Easy Software Products
-#   at:
-#
-#       Attn: CUPS Licensing Information
-#       Easy Software Products
-#       44141 Airport View Drive, Suite 204
-#       Hollywood, Maryland 20636 USA
-#
-#       Voice: (301) 373-9600
-#       EMail: cups-info@cups.org
-#         WWW: http://www.cups.org
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
 #
 
 include ../Makedefs
@@ -30,30 +15,47 @@ include ../Makedefs
 #
 
 MAN1   =       cancel.$(MAN1EXT) \
+               cups.$(MAN1EXT) \
                cups-config.$(MAN1EXT) \
+               cupstestdsc.$(MAN1EXT) \
                cupstestppd.$(MAN1EXT) \
+               $(IPPFIND_MAN) \
+               ipptool.$(MAN1EXT) \
                lp.$(MAN1EXT) \
                lpoptions.$(MAN1EXT) \
-               lppasswd.$(MAN1EXT) \
                lpq.$(MAN1EXT) \
                lprm.$(MAN1EXT) \
                lpr.$(MAN1EXT) \
-               lpstat.$(MAN1EXT)
+               lpstat.$(MAN1EXT) \
+               ppdc.$(MAN1EXT) \
+               ppdhtml.$(MAN1EXT) \
+               ppdi.$(MAN1EXT) \
+               ppdmerge.$(MAN1EXT) \
+               ppdpo.$(MAN1EXT)
 MAN5   =       classes.conf.$(MAN5EXT) \
                client.conf.$(MAN5EXT) \
+               cups-files.conf.$(MAN5EXT) \
+               cups-snmp.conf.$(MAN5EXT) \
                cupsd.conf.$(MAN5EXT) \
+               cupsd-logs.$(MAN5EXT) \
+               ipptoolfile.$(MAN5EXT) \
+               mailto.conf.$(MAN5EXT) \
                mime.convs.$(MAN5EXT) \
                mime.types.$(MAN5EXT) \
-               printers.conf.$(MAN5EXT)
+               ppdcfile.$(MAN5EXT) \
+               printers.conf.$(MAN5EXT) \
+               subscriptions.conf.$(MAN5EXT)
 MAN7   =       backend.$(MAN7EXT) \
-               filter.$(MAN7EXT)
-MAN8   =       accept.$(MAN8EXT) \
+               filter.$(MAN7EXT) \
+               notifier.$(MAN7EXT)
+MAN8   =       cupsaccept.$(MAN8EXT) \
                cupsaddsmb.$(MAN8EXT) \
-               cups-deviced.$(MAN8EXT) \
-               cups-driverd.$(MAN8EXT) \
+               cupsctl.$(MAN8EXT) \
+               cupsfilter.$(MAN8EXT) \
                cups-lpd.$(MAN8EXT) \
-               cups-polld.$(MAN8EXT) \
+               cups-snmp.$(MAN8EXT) \
                cupsd.$(MAN8EXT) \
+               cupsd-helper.$(MAN8EXT) \
                cupsenable.$(MAN8EXT) \
                lpadmin.$(MAN8EXT) \
                lpinfo.$(MAN8EXT) \
@@ -65,7 +67,21 @@ MAN8 =       accept.$(MAN8EXT) \
 # Make everything...
 #
 
-all:   $(MAN1) $(MAN5) $(MAN7) $(MAN8) html
+all:   $(MAN1) $(MAN5) $(MAN7) $(MAN8)
+
+
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
 
 
 #
@@ -75,18 +91,6 @@ all: $(MAN1) $(MAN5) $(MAN7) $(MAN8) html
 clean:
        $(RM) mantohtml mantohtml.o
        $(RM) $(MAN1) $(MAN5) $(MAN7) $(MAN8)
-       for file in $(MAN1); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN1EXT)`.html; \
-       done
-       for file in $(MAN5); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN5EXT)`.html; \
-       done
-       for file in $(MAN7); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN7EXT)`.html; \
-       done
-       for file in $(MAN8); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN8EXT)`.html; \
-       done
 
 
 #
@@ -97,10 +101,17 @@ depend:
 
 
 #
-# Install files...
+# Install all targets...
 #
 
-install:       all
+install:       all install-data install-headers install-libs install-exec
+
+
+#
+# Install data files...
+#
+
+install-data: all
        $(INSTALL_DIR) -m 755 $(MANDIR)/man1
        for file in $(MAN1); do \
                echo Installing $$file in $(MANDIR)/man1...; \
@@ -121,10 +132,37 @@ install:  all
                echo Installing $$file in $(AMANDIR)/man$(MAN8DIR)...; \
                $(INSTALL_MAN) $$file $(AMANDIR)/man$(MAN8DIR); \
        done
-       $(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
-       $(LN) accept.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
+       for file in accept cupsreject reject; do \
+               $(RM) $(AMANDIR)/man$(MAN8DIR)/$$file.$(MAN8EXT); \
+               $(LN) cupsaccept.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/$$file.$(MAN8EXT); \
+       done
        $(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
        $(LN) cupsenable.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
+       for file in cups-deviced cups-driverd cups-exec; do \
+               $(RM) $(AMANDIR)/man$(MAN8DIR)/$$file.$(MAN8EXT); \
+               $(LN) cupsd-helper.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/$$file.$(MAN8EXT); \
+       done
+
+
+#
+# Install programs...
+#
+
+install-exec:
+
+
+#
+# Install headers...
+#
+
+install-headers:
+
+
+#
+# Install libraries...
+#
+
+install-libs:
 
 
 #
@@ -147,11 +185,20 @@ uninstall:
        for file in $(MAN8); do \
                $(RM) $(AMANDIR)/man$(MAN8DIR)/$$file; \
        done
+       $(RM) $(AMANDIR)/man$(MAN8DIR)/accept.$(MAN8EXT)
+       $(RM) $(AMANDIR)/man$(MAN8DIR)/cupsreject.$(MAN8EXT)
        $(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
        $(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
        -$(RMDIR) $(AMANDIR)/man$(MAN8DIR)
 
 
+#
+# Local programs (not built when cross-compiling...)
+#
+
+local: html
+
+
 #
 # Make html versions of man pages...
 #
@@ -175,10 +222,7 @@ html:      $(MAN1) $(MAN5) $(MAN7) $(MAN8) mantohtml
                ./mantohtml `basename $$file .$(MAN8EXT)`.man >../doc/help/man-`basename $$file .$(MAN8EXT)`.html; \
        done
 
-mantohtml:     mantohtml.o
-       $(CC) $(LDFLAGS) -o $@ mantohtml.o
-
-
-#
-# End of "$Id: Makefile 5229 2006-03-05 16:48:12Z mike $".
-#
+mantohtml:     mantohtml.o ../cups/$(LIBCUPSSTATIC)
+       $(LD_CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ mantohtml.o \
+               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
+               $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)