-# $Id: Makefile.am,v 1.2 2001/12/12 17:21:58 alex Exp $
-
-# $Log: Makefile.am,v $
-# Revision 1.2 2001/12/12 17:21:58 alex
-# - Projektdatei fuer den Mac OS X Project Builder erstellt.
#
-# Revision 1.1.1.1 2001/12/11 21:53:04 alex
-# Imported sources to CVS.
+# ngIRCd -- The Next Generation IRC Daemon
+# Copyright (c)2001-2024 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.
#
-AUTOMAKE_OPTIONS = gnu
+SUBDIRS = doc src man contrib
-SUBDIRS = MacOSX src
+EXTRA_DIST = \
+ AUTHORS.md \
+ INSTALL.md \
+ README.md \
+ autogen.sh \
+ configure.ng \
+ .clang_complete \
+ .dockerignore \
+ .mailmap
+
+clean-local:
+ rm -f build-stamp*
maintainer-clean-local:
- rm -f Makefile.in Makefile aclocal.m4 configure
- rm -f mkinstalldirs missing depcomp install-sh
- rm -f config.log
+ 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:
+ ${MAKE} -C src/testsuite check
+
+srcdoc:
+ ${MAKE} -C doc/src srcdoc
+
+rpm: distcheck
+ rpmbuild -ta ngircd-$(VERSION).tar.gz
+
+deb:
+ [ -f debian/rules ] || ln -s contrib/Debian debian
+ dpkg-buildpackage --build=binary
+
+.PHONY: deb rpm srcdoc testsuite
# -eof-