From: Sebastian Harl Date: Mon, 8 Jan 2007 17:02:54 +0000 (+0000) Subject: Copy up to date config.{sub,guess} files to the source directory. X-Git-Tag: cadaver-0.22.4-1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7c6b729d0da50bd2b5f3ed3c1e0da497caf315a8;p=pkg-cadaver.git Copy up to date config.{sub,guess} files to the source directory. Added autotools-dev build dependency. --- diff --git a/debian/control b/debian/control index e16a4c5..41bbd45 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: cadaver Section: web Priority: optional Maintainer: Sebastian Harl -Build-Depends: debhelper (>= 5), libncurses5-dev, libxml2-dev | libxml-dev, libreadline5-dev, zlib1g-dev (>= 1:1.1.3), libneon26-gnutls-dev, dpatch +Build-Depends: debhelper (>= 5), autotools-dev, libncurses5-dev, libxml2-dev | libxml-dev, libreadline5-dev, zlib1g-dev (>= 1:1.1.3), libneon26-gnutls-dev, dpatch Standards-Version: 3.7.2 Package: cadaver diff --git a/debian/rules b/debian/rules index bf9b99e..9dac3b7 100755 --- a/debian/rules +++ b/debian/rules @@ -25,6 +25,12 @@ include /usr/share/dpatch/dpatch.make $(BUILDDIR)/config.status: configure dh_testdir + + for file in config.guess config.sub; do \ + mv $$file $$file.upstream; \ + ln -s /usr/share/misc/$$file .; \ + done + [ -e $(BUILDDIR) ] || mkdir $(BUILDDIR) cd $(BUILDDIR) && CFLAGS="$(CFLAGS)" ../../configure \ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ @@ -49,6 +55,13 @@ clean: unpatch rm -rf $(BUILDDIR) + for file in config.guess config.sub; do \ + if [ -e $$file.upstream ]; then \ + rm -f $$file; \ + mv $$file.upstream $$file; \ + fi \ + done + dh_clean install: build