]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - man/Makefile
Update svn:keyword properties.
[thirdparty/cups.git] / man / Makefile
index 8588d346ab155a0b3d3509c5b512159a82734706..29e0557aa7fa802968730daf64ebf355c6606d3a 100644 (file)
@@ -1,9 +1,9 @@
 #
-# "$Id: Makefile 6657 2007-07-13 01:01:14Z mike $"
+# "$Id$"
 #
-#   Man page makefile for the Common UNIX Printing System (CUPS).
+#   Man page makefile for CUPS.
 #
-#   Copyright 2007-2008 by Apple Inc.
+#   Copyright 2007-2012 by Apple Inc.
 #   Copyright 1993-2006 by Easy Software Products.
 #
 #   These coded instructions, statements, and computer programs are the
@@ -24,6 +24,7 @@ MAN1  =       cancel.$(MAN1EXT) \
                cups-config.$(MAN1EXT) \
                cupstestdsc.$(MAN1EXT) \
                cupstestppd.$(MAN1EXT) \
+               ipptool.$(MAN1EXT) \
                lp.$(MAN1EXT) \
                lpoptions.$(MAN1EXT) \
                lppasswd.$(MAN1EXT) \
@@ -38,8 +39,10 @@ MAN1 =       cancel.$(MAN1EXT) \
                ppdpo.$(MAN1EXT)
 MAN5   =       classes.conf.$(MAN5EXT) \
                client.conf.$(MAN5EXT) \
+               cups-files.conf.$(MAN5EXT) \
                cups-snmp.conf.$(MAN5EXT) \
                cupsd.conf.$(MAN5EXT) \
+               ipptoolfile.$(MAN5EXT) \
                mailto.conf.$(MAN5EXT) \
                mime.convs.$(MAN5EXT) \
                mime.types.$(MAN5EXT) \
@@ -47,19 +50,16 @@ MAN5        =       classes.conf.$(MAN5EXT) \
                printers.conf.$(MAN5EXT) \
                subscriptions.conf.$(MAN5EXT)
 MAN7   =       backend.$(MAN7EXT) \
-               commandtoescpx.$(MAN7EXT) \
-               commandtopclx.$(MAN7EXT) \
                filter.$(MAN7EXT) \
-               rastertoescpx.$(MAN7EXT) \
-               rastertopclx.$(MAN7EXT)
-MAN8   =       accept.$(MAN8EXT) \
+               notifier.$(MAN7EXT)
+MAN8   =       cupsaccept.$(MAN8EXT) \
                cupsaddsmb.$(MAN8EXT) \
                cupsctl.$(MAN8EXT) \
                cupsfilter.$(MAN8EXT) \
                cups-deviced.$(MAN8EXT) \
                cups-driverd.$(MAN8EXT) \
                cups-lpd.$(MAN8EXT) \
-               cups-polld.$(MAN8EXT) \
+               cups-snmp.$(MAN8EXT) \
                cupsd.$(MAN8EXT) \
                cupsenable.$(MAN8EXT) \
                lpadmin.$(MAN8EXT) \
@@ -75,6 +75,20 @@ MAN8 =       accept.$(MAN8EXT) \
 all:   $(MAN1) $(MAN5) $(MAN7) $(MAN8) html
 
 
+#
+# Make library targets...
+#
+
+libs:
+
+
+#
+# Make unit tests...
+#
+
+unittests:
+
+
 #
 # Clean all config and object files...
 #
@@ -83,10 +97,14 @@ clean:
        $(RM) mantohtml mantohtml.o
        $(RM) $(MAN1) $(MAN5) $(MAN7) $(MAN8)
        for file in $(MAN1); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN1EXT)`.html; \
+               if test $$file != ipptool.$(MAN1EXT); then \
+                       $(RM) ../doc/help/man-`basename $$file .$(MAN1EXT)`.html; \
+               fi \
        done
        for file in $(MAN5); do \
-               $(RM) ../doc/help/man-`basename $$file .$(MAN5EXT)`.html; \
+               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; \
@@ -114,7 +132,7 @@ install:    all install-data install-headers install-libs install-exec
 # Install data files...
 #
 
-install-data:
+install-data: all
        $(INSTALL_DIR) -m 755 $(MANDIR)/man1
        for file in $(MAN1); do \
                echo Installing $$file in $(MANDIR)/man1...; \
@@ -135,8 +153,10 @@ install-data:
                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)
 
@@ -182,6 +202,8 @@ 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)
@@ -211,9 +233,9 @@ html:       $(MAN1) $(MAN5) $(MAN7) $(MAN8) mantohtml
        done
 
 mantohtml:     mantohtml.o
-       $(CC) $(LDFLAGS) -o $@ mantohtml.o
+       $(CC) $(ARCHFLAGS) $(LDFLAGS) -o $@ mantohtml.o
 
 
 #
-# End of "$Id: Makefile 6657 2007-07-13 01:01:14Z mike $".
+# End of "$Id$".
 #