"usr/bin/ocamlprof", ocaml_nox;
"usr/bin/ocamlmktop", ocaml_nox;
"usr/lib/ocaml/camlheader", ocaml_nox;
+ "usr/lib/ocaml/camlheaderd", ocaml_nox;
+ "usr/lib/ocaml/camlheaderi", ocaml_nox;
+ "usr/lib/ocaml/eventlog_metadata", ocaml_nox;
"usr/lib/ocaml/Makefile.config", ocaml_nox;
"usr/lib/ocaml/extract_crc", ocaml_nox;
"usr/lib/ocaml/camlheader_ur", ocaml_nox;
set -e; for ext in sub guess; do \
if [ -f /usr/share/misc/config.$$ext ] && \
! [ -f debian/config.orig.$$ext ]; then \
- mv config/gnu/config.$$ext debian/config.orig.$$ext; \
- cp -f /usr/share/misc/config.$$ext config/gnu/config.$$ext; \
+ mv build-aux/config.$$ext debian/config.orig.$$ext; \
+ cp -f /usr/share/misc/config.$$ext build-aux/config.$$ext; \
fi; \
done
# Debian kfreebsd has non-working shims for dup3/pipe2, see #827935. Upstream
fi
set -e; for ext in sub guess; do \
if [ -f debian/config.orig.$$ext ] ; then \
- mv -f debian/config.orig.$$ext config/gnu/config.$$ext; \
+ mv -f debian/config.orig.$$ext build-aux/config.$$ext; \
fi; \
done
# Remaining stuff
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
: # tries to connect the net
- sed -i /sockets.ml/d testsuite/tests/lib-threads/ocamltests
rm -f testsuite/tests/lib-threads/sockets.*
: # FIXME: the following tests fail, we temporarily disable them
rm -rf testsuite/tests/tool-debugger/basic/
rm -rf testsuite/tests/tool-debugger/find-artifacts/
rm -rf testsuite/tests/tool-debugger/no_debug_event/
ifneq (,$(filter $(DEB_BUILD_ARCH),$(SLOW_ARCHITECTURES)))
- sed -i /almabench.ml/d testsuite/tests/misc-unsafe/ocamltests
rm -f testsuite/tests/misc-unsafe/almabench.ml
endif
# testpreempt test is too unreliable.
# It failed at least once on kfreebsd and amd64.
- sed -i /testpreempt.ml/d testsuite/tests/lib-systhreads/ocamltests
rm -f testsuite/tests/lib-systhreads/testpreempt.ml
ifneq (,$(findstring hurd,$(DEB_BUILD_ARCH)))
- sed -i /beat.ml/d testsuite/tests/lib-threads/ocamltests
rm -f testsuite/tests/lib-threads/beat.ml
- sed -i /threadsigmask.ml/d testsuite/tests/lib-systhreads/ocamltests
rm -f testsuite/tests/lib-systhreads/threadsigmask.ml
endif
ifeq (,$(DEB_TEST_BUILD_PREFIX))
- cd testsuite && make all
+ make -C ocamltest
+ make -C testsuite all
endif
endif
dh_installdocs --remaining-packages
override_dh_autoreconf:
- ./autogen
+ ./tools/autogen
# FIXME: figure out why dh_dwz fails
override_dh_dwz: