From 75b66003aa1a0706d1c7ca9a468f77f65c82a545 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 28 Jul 2008 11:03:02 -0400 Subject: [PATCH] Autotoolfiscate. Signed-off-by: Anders Kaseorg --- debian/control | 2 +- debian/rules | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index e15181b..eef6f44 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: debathena/libs Priority: optional Maintainer: Debian-Athena Project Standards-Version: 3.7.2 -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0) +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), libtool, automake1.9, autoconf Package: libnss-nonlocal Architecture: any diff --git a/debian/rules b/debian/rules index 76766f1..c90fcf2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,22 @@ #!/usr/bin/make -f +DEB_AUTO_UPDATE_AUTOCONF = 2.50 +DEB_AUTO_UPDATE_AUTOHEADER = 2.50 +DEB_AUTO_UPDATE_AUTOMAKE = 1.9 +DEB_AUTO_UPDATE_ACLOCAL = 1.9 +DEB_AUTO_UPDATE_LIBTOOL = pre + include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_PREFIX = / + +debian/stamp-autotools-files: DEB_AUTO_UPDATE_AUTOMAKE += --foreign --add-missing + +debian/stamp-autotools-files: aclocal.m4 +aclocal.m4: + touch $@ -DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) +clean:: + rm -f aclocal.m4 config.guess config.sub install-sh ltmain.sh \ + configure config.h.in missing depcomp Makefile.in -- 2.45.0