Use . in BUILD_PATH_PREFIX_MAP
authorStephane Glondu <steph@glondu.net>
Tue, 14 Jan 2020 12:53:21 +0000 (13:53 +0100)
committerStéphane Glondu <glondu@debian.org>
Tue, 14 Jan 2020 12:59:33 +0000 (13:59 +0100)
debian/rules

index f67bf023a99232cc1bc627819172a5284a065ebc..f47f70b5ae09d3178873140ab0847e45e0f2cf0f 100755 (executable)
@@ -71,7 +71,7 @@ CONFIGURE_OPTS += --disable-native-compiler
 endif
 
 # To avoid Lintian's file-references-package-build-path
-export BUILD_PATH_PREFIX_MAP=/usr/src/ocaml=$(CURDIR)
+export BUILD_PATH_PREFIX_MAP=.=$(CURDIR)
 
 %:
        dh $@