1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_build:
cp -al testsuite testsuite-run
# Does not seem to work:
# OUTPUT_SUMMARY="$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt"
make -C testsuite-run \
SKIPWAY="" \
fast=YES \
2>&1 | tee result.txt
override_dh_auto_install:
mkdir -p debian/ghc-testsuite/usr/share/doc/ghc-testsuite
cp result.txt "$(CURDIR)/debian/ghc-testsuite/usr/share/doc/ghc-testsuite/result.txt"
override_dh_auto_clean:
rm -rf testsuite-run
rm -f result.txt
|