]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - man/Makefile
Add CreateSelfSignedCerts directive for cups-files.conf (Issue #4876)
[thirdparty/cups.git] / man / Makefile
index 37c51a478d89357f97f32b8fe608e0279939d909..8e75e8977adf0b58c6bd99a8a17bf1a51ef437bd 100644 (file)
@@ -1,16 +1,14 @@
 #
-# "$Id$"
+# Man page makefile for CUPS.
 #
-#   Man page makefile for CUPS.
+# Copyright 2007-2015 by Apple Inc.
+# Copyright 1993-2006 by Easy Software Products.
 #
-#   Copyright 2007-2013 by Apple Inc.
-#   Copyright 1993-2006 by Easy Software Products.
-#
-#   These coded instructions, statements, and computer programs are the
-#   property of Apple Inc. 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
-#   file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. 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
+# file is missing or damaged, see the license at "http://www.cups.org/".
 #
 
 include ../Makedefs
@@ -21,6 +19,7 @@ include ../Makedefs
 #
 
 MAN1   =       cancel.$(MAN1EXT) \
+               cups.$(MAN1EXT) \
                cups-config.$(MAN1EXT) \
                cupstestdsc.$(MAN1EXT) \
                cupstestppd.$(MAN1EXT) \
@@ -28,7 +27,6 @@ MAN1  =       cancel.$(MAN1EXT) \
                ipptool.$(MAN1EXT) \
                lp.$(MAN1EXT) \
                lpoptions.$(MAN1EXT) \
-               lppasswd.$(MAN1EXT) \
                lpq.$(MAN1EXT) \
                lprm.$(MAN1EXT) \
                lpr.$(MAN1EXT) \
@@ -43,6 +41,7 @@ MAN5  =       classes.conf.$(MAN5EXT) \
                cups-files.conf.$(MAN5EXT) \
                cups-snmp.conf.$(MAN5EXT) \
                cupsd.conf.$(MAN5EXT) \
+               cupsd-logs.$(MAN5EXT) \
                ipptoolfile.$(MAN5EXT) \
                mailto.conf.$(MAN5EXT) \
                mime.convs.$(MAN5EXT) \
@@ -57,11 +56,10 @@ MAN8        =       cupsaccept.$(MAN8EXT) \
                cupsaddsmb.$(MAN8EXT) \
                cupsctl.$(MAN8EXT) \
                cupsfilter.$(MAN8EXT) \
-               cups-deviced.$(MAN8EXT) \
-               cups-driverd.$(MAN8EXT) \
                cups-lpd.$(MAN8EXT) \
                cups-snmp.$(MAN8EXT) \
                cupsd.$(MAN8EXT) \
+               cupsd-helper.$(MAN8EXT) \
                cupsenable.$(MAN8EXT) \
                lpadmin.$(MAN8EXT) \
                lpinfo.$(MAN8EXT) \
@@ -97,22 +95,6 @@ unittests:
 clean:
        $(RM) mantohtml mantohtml.o
        $(RM) $(MAN1) $(MAN5) $(MAN7) $(MAN8)
-       for file in $(MAN1); do \
-               if test $$file != ipptool.$(MAN1EXT); then \
-                       $(RM) ../doc/help/man-`basename $$file .$(MAN1EXT)`.html; \
-               fi \
-       done
-       for file in $(MAN5); do \
-               if test $$file != ipptoolfile.$(MAN5EXT); then \
-                       $(RM) ../doc/help/man-`basename $$file .$(MAN5EXT)`.html; \
-               fi \
-       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
 
 
 #
@@ -160,6 +142,10 @@ install-data: all
        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
 
 
 #
@@ -233,10 +219,7 @@ html:      $(MAN1) $(MAN5) $(MAN7) $(MAN8) mantohtml
                ./mantohtml `basename $$file .$(MAN8EXT)`.man >../doc/help/man-`basename $$file .$(MAN8EXT)`.html; \
        done
 
-mantohtml:     mantohtml.o
-       $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ mantohtml.o
-
-
-#
-# End of "$Id$".
-#
+mantohtml:     mantohtml.o ../cups/$(LIBCUPSSTATIC)
+       $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ mantohtml.o \
+               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
+               $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)