diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index cd684aa..f601cc5 100755 --- a/debian/rules +++ b/debian/rules @@ -63,13 +63,16 @@ build-gtk-stamp: autoreconf-stamp --with-scitecodatadir=../share/sciteco # NOTE: Since the Gtk+ version of SciTECO is called during the build, # we need an XServer which may be missing on the build server. -# That's why we use xvfb. - xvfb-run -a dh_auto_build -Bbuild-gtk - xvfb-run -a dh_auto_test -Bbuild-gtk --no-parallel +# That's why we use the GTK broadway backend. + ./gtk-broadway-run.sh dh_auto_build -Bbuild-gtk + ./gtk-broadway-run.sh dh_auto_test -Bbuild-gtk --no-parallel touch $@ -install: - xvfb-run -a dh install -Bbuild-gtk -psciteco-gtk +install: build-gtk-stamp + # Workaround for debian/sciteco-gtk.install loosing the executable flag. + # debtransform (OBS) doesn't preserve it. + chmod +x debian/sciteco-gtk.install + ./gtk-broadway-run.sh dh install -Bbuild-gtk -psciteco-gtk dh install -Bbuild-curses -psciteco-curses -psciteco-common # NOTE: This skips the dh_install* commands of `dh binary-arch` |
