]> arthur.barton.de Git - ngircd-alex.git/blobdiff - Makefile.am
Two new targets: "srcdoc" to generate Doxygen source documentation, and
[ngircd-alex.git] / Makefile.am
index 66ea2919831297e3c117850f1048323b8a07b8b4..627967cd2a7775a32485bf04d782e8e9ed299566 100644 (file)
@@ -8,22 +8,34 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: Makefile.am,v 1.14 2004/01/01 22:24:48 alex Exp $
+# $Id: Makefile.am,v 1.16 2005/04/09 12:27:40 alex Exp $
 #
 
 AUTOMAKE_OPTIONS = gnu
 
 SUBDIRS = doc src man contrib
 
+clean-local:
+       rm -f build-stamp*
+
 maintainer-clean-local:
        rm -rf autom4te.cache
        rm -f Makefile.in Makefile aclocal.m4 configure
        rm -f mkinstalldirs missing depcomp install-sh
-       rm -f config.log build-stamp* debian
+       rm -f config.log debian
 
 lint:
        make -C src/ngircd lint
 
+srcdoc:
+       make -C src srcdoc
+
+xcode:
+       @xcodebuild -project contrib/MacOSX/ngIRCd.xcode -list >/dev/null 2>&1 \
+        || ( echo; echo "Error: \"xcodebuild\" not found!"; echo; exit 1 )
+       xcodebuild -project contrib/MacOSX/ngIRCd.xcode -alltargets \
+        -buildstyle Development
+
 rpm: distcheck
        rpm -ta ngircd-*.tar.gz