diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-01-01 23:11:35 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-01-01 23:11:35 +0300 |
| commit | 0236c1ee6244700db907d7dcabde301916f90cda (patch) | |
| tree | 71b773aa3c595a926e9979ea788536f5404fc6a7 /debian/rules | |
| parent | 304c617a68c7c9dbc720a7d5c58ef4614898b915 (diff) | |
debian package: synced with OBS versionsHEADmaster-fmsbw-cimaster
In principle the debian/ subdirectory is redundant with the
files in OBS. It is only still useful when building with distribute.mk
or as a template for future adoption into the Debian repositories.
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 \ |
