]> arthur.barton.de Git - ngircd-alex.git/blobdiff - Makefile.am
ngIRCd Release 27
[ngircd-alex.git] / Makefile.am
index 2e5de8db3a5449db4049a0dc7e764003051676f6..aa491a91317ef4713fa347461ee2c138811e2a3e 100644 (file)
@@ -1,6 +1,6 @@
 #
 # ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2003 by Alexander Barton (alex@barton.de)
+# 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
@@ -8,26 +8,41 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: Makefile.am,v 1.11 2003/07/09 21:16:33 alex Exp $
-#
 
-AUTOMAKE_OPTIONS = gnu
+SUBDIRS = doc src man contrib
+
+EXTRA_DIST = \
+       AUTHORS.md \
+       INSTALL.md \
+       README.md \
+       autogen.sh \
+       configure.ng \
+       .clang_complete \
+       .dockerignore \
+       .mailmap
 
-SUBDIRS = doc MacOSX src man contrib debian
+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
+       rm -f Makefile.in Makefile aclocal.m4 configure configure.ac
+       rm -f ar-lib mkinstalldirs missing depcomp install-sh
+       rm -f config.log debian
 
-lint:
-       make -C src/ngircd lint
+testsuite:
+       ${MAKE} -C src/testsuite check
+
+srcdoc:
+       ${MAKE} -C doc/src srcdoc
 
 rpm: distcheck
-       rpm -ta ngircd-*.tar.gz
+       rpmbuild -ta ngircd-$(VERSION).tar.gz
 
 deb:
-       dpkg-buildpackage -rfakeroot
+       [ -f debian/rules ] || ln -s contrib/Debian debian
+       dpkg-buildpackage --build=binary
+
+.PHONY: deb rpm srcdoc testsuite
 
 # -eof-