about summary refs log tree commit diff
path: root/Makefile.am
blob: 8e462bed6950f9fcf602c2851cd86b8aca2690f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# ngIRCd -- The Next Generation IRC Daemon
# Copyright (c)2001-2015 Alexander Barton (alex@barton.de) and Contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information.
#

SUBDIRS = doc src man contrib

EXTRA_DIST = README.md INSTALL.md autogen.sh configure.ng .clang_complete .mailmap

clean-local:
	rm -f build-stamp*

maintainer-clean-local:
	rm -rf autom4te.cache
	rm -f Makefile.in Makefile aclocal.m4 configure configure.ac
	rm -f ar-lib mkinstalldirs missing depcomp install-sh
	rm -f config.log debian

testsuite:
	cd src/testsuite && ${MAKE} check

lint:
	cd src/ngircd && ${MAKE} lint

srcdoc:
	cd doc && ${MAKE} srcdoc

rpm: distcheck
	rpm -ta ngircd-*.tar.gz

deb:
	[ -f debian/rules ] || ln -s contrib/Debian debian
	dpkg-buildpackage -rfakeroot -i

.PHONY: deb lint rpm srcdoc testsuite

# -eof-