diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index 5ce058d..cd684aa 100755 --- a/debian/rules +++ b/debian/rules @@ -27,18 +27,24 @@ MAKEFLAGS += -j$(NUMJOBS) endif # In case `make check` fails, there will be a complete log. -export TESTSUITEFLAGS="--verbose --color=never" +# FIXME: Not all distributions appear to support --color=never. +#export TESTSUITEFLAGS="--verbose --color=never" +export TESTSUITEFLAGS="--verbose" %: dh $@ build build-arch build-indep: build-curses-stamp build-gtk-stamp; +autoreconf-stamp: + dh_testdir + test -x ./configure || dh_autoreconf + touch $@ + # NOTE: The datadir will be relative to the binary location at runtime. # This makes the binary relocateable, which is important when creating # AppImages from the Debian packages. -build-curses-stamp: - dh_testdir +build-curses-stamp: autoreconf-stamp rm -rf build-curses dh_auto_configure -Bbuild-curses -- \ --with-interface=ncurses \ @@ -49,8 +55,7 @@ build-curses-stamp: # NOTE: This does not depend on install-curses-stamp and uses # --disable-bootstrap to speed up builds since that would prevent parallel builds. -build-gtk-stamp: - dh_testdir +build-gtk-stamp: autoreconf-stamp rm -rf build-gtk dh_auto_configure -Bbuild-gtk -- \ --program-prefix=g \ |
