Code

[PATCH] Debian: build-depend on "bc"
authorMatthias Urlichs <smurf@smurf.noris.de>
Fri, 16 Sep 2005 11:54:10 +0000 (13:54 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 16 Sep 2005 22:16:42 +0000 (15:16 -0700)
Build systems should run tests. This patch adds the necessary
debian/control and debian/rules bits ("bc" was missing,
t/t4002-diff-basic.sh wants it).

Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
debian/control
debian/rules

index 845a08cd4c2b79529e9f1ea9261124b1460e7ec0..5d75c325e2dad1393cf5845dc9ccc6d54743e0e1 100644 (file)
@@ -2,7 +2,7 @@ Source: git-core
 Section: devel
 Priority: optional
 Maintainer: Junio C Hamano <junkio@cox.net>
-Build-Depends-Indep: libz-dev, libssl-dev, libcurl3-dev, asciidoc (>= 6.0.3), xmlto, debhelper (>= 4.0.0)
+Build-Depends-Indep: libz-dev, libssl-dev, libcurl3-dev, asciidoc (>= 6.0.3), xmlto, debhelper (>= 4.0.0), bc
 Standards-Version: 3.6.1
 
 Package: git-core
index 1a53ca239853b34065ae7edd94039acb1889d6aa..568d430932bf96efd9c6a448adbb42507c821a0f 100755 (executable)
@@ -41,7 +41,7 @@ MAN_DESTDIR := $(DESTDIR)/$(MANDIR)
 build: debian/build-stamp
 debian/build-stamp:
        dh_testdir
-       $(MAKE) prefix=$(PREFIX) PYTHON_PATH=/usr/bin/python2.4 all doc
+       $(MAKE) prefix=$(PREFIX) PYTHON_PATH=/usr/bin/python2.4 all doc test
        touch debian/build-stamp
 
 debian-clean: