]> git.saurik.com Git - apt.git/commitdiff
abicheck: use absoute path for build too
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 18 Feb 2010 13:40:42 +0000 (14:40 +0100)
abicheck/apt_build.xml [deleted file]
abicheck/apt_build.xml.in [new file with mode: 0644]
abicheck/run_abi_test

diff --git a/abicheck/apt_build.xml b/abicheck/apt_build.xml
deleted file mode 100644 (file)
index e04113e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<version>
- build-branch
-</version>
-   
- <headers>
-  ../build/include/apt-pkg
- </headers>
-   
- <libs>
-  ../build/bin/
- </libs>
diff --git a/abicheck/apt_build.xml.in b/abicheck/apt_build.xml.in
new file mode 100644 (file)
index 0000000..f7d4c90
--- /dev/null
@@ -0,0 +1,11 @@
+<version>
+ build-branch
+</version>
+   
+ <headers>
+  @build_path@/include/apt-pkg
+ </headers>
+   
+ <libs>
+  @build_path@/bin/
+ </libs>
index 8d4788ae79d91c3e9f761f3280c9da94c97136f5..609c710c405260634ba68083aec8abc2b60d5552 100755 (executable)
@@ -8,4 +8,7 @@ fi
 LIBPATH=$(find /usr/lib/ -type f  -name "libapt-pkg*")
 sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml
 
+BUILDPATH=$(readlink -f ../build)
+sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml
+
 perl abi-compliance-checker.pl -l apt -d1 apt_installed.xml -d2 apt_build.xml