Build with BUILD_PATH_PREFIX_MAP set
authorStephane Glondu <steph@glondu.net>
Fri, 19 Jul 2019 15:30:04 +0000 (17:30 +0200)
committerStephane Glondu <steph@glondu.net>
Mon, 22 Jul 2019 11:22:31 +0000 (13:22 +0200)
... to avoid Lintian's file-references-package-build-path

debian/rules

index 5b4e5dc0164e15dfd59bdce0a6fc085ae4e71018..634eeac2d9f76e880ce1119bb00062658d70fca7 100755 (executable)
@@ -65,6 +65,9 @@ ifneq (,$(filter $(DEB_HOST_ARCH),armel))
 CONFIGURE_OPTS += --disable-native-compiler
 endif
 
+# To avoid Lintian's file-references-package-build-path
+export BUILD_PATH_PREFIX_MAP=/usr/src/ocaml=$(CURDIR)
+
 %:
        dh $@