]> arthur.barton.de Git - ngircd-alex.git/blob - Makefile.am
d678f171d8361c2c087c1fdf61b42d31de832cf5
[ngircd-alex.git] / Makefile.am
1 #
2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2008 Alexander Barton (alex@barton.de)
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 # Please read the file COPYING, README and AUTHORS for more information.
10 #
11
12 AUTOMAKE_OPTIONS = gnu
13
14 SUBDIRS = doc src man contrib
15
16 clean-local:
17         rm -f build-stamp*
18
19 maintainer-clean-local:
20         rm -rf autom4te.cache
21         rm -f Makefile.in Makefile aclocal.m4 configure
22         rm -f mkinstalldirs missing depcomp install-sh
23         rm -f config.log debian
24
25 testsuite:
26         make -C src/testsuite check
27
28 lint:
29         make -C src/ngircd lint
30
31 srcdoc:
32         make -C doc srcdoc
33
34 xcode:
35         @xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -list \
36          >/dev/null 2>&1 \
37          || ( echo; echo "Error: \"xcodebuild\" not found!"; echo; exit 1 )
38         xcodebuild -project contrib/MacOSX/ngIRCd.xcodeproj -alltargets \
39          -buildstyle Development
40
41 rpm: distcheck
42         rpm -ta ngircd-*.tar.gz
43
44 deb:
45         [ -f debian/rules ] || ln -s contrib/Debian debian
46         dpkg-buildpackage -rfakeroot
47
48 # -eof-