Remove "dpkg-buildpackage" test from "make distcheck".
authorBen Pfaff <blp@nicira.com>
Tue, 9 Jun 2009 21:22:52 +0000 (14:22 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Jun 2009 21:22:52 +0000 (14:22 -0700)
Now the Debian packaging is regularly tested via the autobuilder, so there
is less need to do it from "make distcheck", and not doing it saves time
there.

Makefile.am
acinclude.m4
configure.ac

index 44addf025551dc4430afea5848f340dd0ee1c084..f1de10f05f497cb39d43d802a6cb931c2991b6ab 100644 (file)
@@ -3,14 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
 SUBDIRS = datapath
 
 if ENABLE_USERSPACE
-if HAVE_DPKG_BUILDPACKAGE
-distcheck-hook: 
-       cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
-       cd $(srcdir) && fakeroot ./debian/rules clean
-else
-distcheck-hook: 
-endif
-
 AM_CPPFLAGS = $(SSL_CFLAGS)
 AM_CPPFLAGS += $(NCURSES_CFLAGS)
 AM_CPPFLAGS += $(PCRE_CFLAGS)
index 498196b307d646159aa7c24a3e3d17387f104051..f16bbf4bc68455865315acf297315d4f5933edac 100644 (file)
@@ -154,13 +154,6 @@ AC_DEFUN([OVS_CHECK_IF_PACKET],
                 [Define to 1 if net/if_packet.h is available.])
    fi])
 
-dnl Checks for dpkg-buildpackage.  If this is available then we check
-dnl that the Debian packaging is functional at "make distcheck" time.
-AC_DEFUN([OVS_CHECK_DPKG_BUILDPACKAGE],
-  [AC_CHECK_PROG([HAVE_DPKG_BUILDPACKAGE], [dpkg-buildpackage], [yes], [no])
-   AM_CONDITIONAL([HAVE_DPKG_BUILDPACKAGE], 
-                  [test $HAVE_DPKG_BUILDPACKAGE = yes])])
-
 dnl ----------------------------------------------------------------------
 dnl These macros are from GNU PSPP, with the following original license:
 dnl Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
index a557f0f4f23cc6fa62003117e4409e7e69f252e1..65152d17bc632a83f4b181e1f0b36ee8418b67fa 100644 (file)
@@ -46,7 +46,6 @@ OVS_CHECK_CURSES
 OVS_CHECK_LINUX_VT_H
 OVS_CHECK_PCRE
 OVS_CHECK_IF_PACKET
-OVS_CHECK_DPKG_BUILDPACKAGE
 
 if $build_userspace; then
     OVS_CHECK_PKIDIR