]> arthur.barton.de Git - ngircd-alex.git/blobdiff - contrib/Debian/rules
Debian package ("make deb"): fix some lintian(1) warnings
[ngircd-alex.git] / contrib / Debian / rules
index fabf6a30604f795ea2d39c0ac0ba79ff66020b5a..5648846d753273e9ea73ed2bf663a92eb64275b2 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 #
 # ngIRCd -- The Next Generation IRC Daemon
 #!/usr/bin/make -f
 #
 # ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2003 by Alexander Barton (alex@barton.de)
+# Copyright (c)2001-2008 Alexander Barton <alex@barton.de>
 #
 # 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
 #
 # 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
@@ -11,8 +11,6 @@
 #
 # debian/rules for ngIRCd
 #
 #
 # debian/rules for ngIRCd
 #
-# $Id: rules,v 1.3 2005/02/07 23:09:31 alex Exp $
-#
 # Based on the sample debian/rules that uses debhelper,
 # GNU copyright 1997 to 1999 by Joey Hess.
 #
 # Based on the sample debian/rules that uses debhelper,
 # GNU copyright 1997 to 1999 by Joey Hess.
 #
@@ -54,7 +52,9 @@ configure-ngircd-full: configure
          --prefix=/usr \
          --sysconfdir=/etc/ngircd \
          --mandir=\$${prefix}/share/man \
          --prefix=/usr \
          --sysconfdir=/etc/ngircd \
          --mandir=\$${prefix}/share/man \
-         --with-syslog --with-zlib --with-tcp-wrappers --with-ident
+         --with-syslog --with-zlib \
+         --with-gnutls --with-ident --with-tcp-wrappers \
+         --enable-ipv6
 
 build:
        dh_clean -k
 
 build:
        dh_clean -k
@@ -88,7 +88,7 @@ clean:
        rm -f $(CURDIR)/debian/ngircd-full.postinst
        
        # Add here commands to clean up after the build process:
        rm -f $(CURDIR)/debian/ngircd-full.postinst
        
        # Add here commands to clean up after the build process:
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) distclean
        
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
        cp -f /usr/share/misc/config.sub config.sub
        
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
        cp -f /usr/share/misc/config.sub config.sub