summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-05-08 18:38:44 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-05-08 18:38:44 +0000
commitf11a948a02771f78f50b530880a0269d4b4f58eb (patch)
tree46f42695fc19300726483f4ad9ca0ecddeb50a16 /Makefile
parente07d4801f9846b9155d4c63872f51b18d8537d01 (diff)
downloadcups-f11a948a02771f78f50b530880a0269d4b4f58eb.tar.gz
Merge changes from CUPS 1.4svn-r8606.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1480 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile42
1 files changed, 39 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fb892d04c..5a1f8b4a0 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
#
# Top-level Makefile for the Common UNIX Printing System (CUPS).
#
-# Copyright 2007-2008 by Apple Inc.
+# Copyright 2007-2009 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
@@ -333,17 +333,53 @@ uninstall:
# Run the test suite...
#
-test: all
+test: all unittests
echo Running CUPS test suite...
cd test; ./run-stp-tests.sh
-check: all
+check: all unittests
echo Running CUPS test suite with defaults...
cd test; ./run-stp-tests.sh 1 0 n
#
+# Create an Xcode docset...
+#
+
+apihelp:
+ for dir in cgi-bin cups filter driver ppdc scheduler; do\
+ echo Generating API help in $$dir... ;\
+ (cd $$dir; $(MAKE) $(MFLAGS) apihelp) || exit 1;\
+ done
+
+framedhelp:
+ for dir in cgi-bin cups filter driver ppdc scheduler; do\
+ echo Generating framed API help in $$dir... ;\
+ (cd $$dir; $(MAKE) $(MFLAGS) framedhelp) || exit 1;\
+ done
+
+docset: apihelp
+ echo Generating docset directory tree...
+ $(RM) -r org.cups.docset
+ mkdir -p org.cups.docset/Contents/Resources/Documentation/help
+ mkdir -p org.cups.docset/Contents/Resources/Documentation/images
+ cd doc; $(MAKE) $(MFLAGS) docset
+ cd cgi-bin; $(MAKE) $(MFLAGS) makedocset
+ cgi-bin/makedocset org.cups.docset \
+ `svnversion . | sed -e '1,$$s/[a-zA-Z]//g'` \
+ doc/help/api-*.tokens
+ $(RM) doc/help/api-*.tokens
+ echo Indexing docset...
+ /Developer/usr/bin/docsetutil index org.cups.docset
+ echo Generating docset archive and feed...
+ /Developer/usr/bin/docsetutil package --output org.cups.docset.xar \
+ --atom org.cups.docset.atom \
+ --download-url http://www.cups.org/org.cups.docset.xar \
+ org.cups.docset
+
+
+#
# Make software distributions using EPM (http://www.easysw.com/epm/)...
#