Commit 9980de7f authored by Tatiana Meshkova's avatar Tatiana Meshkova

Fix obdir detection

parent aafaa76f
......@@ -42,7 +42,6 @@ DEST_OBJ_DIR=objdir-$(DEB_HOST_ARCH)
configure: configure-$(DEB_HOST_ARCH)-stamp
configure-$(DEB_HOST_ARCH)-stamp:
dh_testdir
echo $(DEST_OBJ_DIR) > $(CURDIR)/last_obj_dir
NO_CONFIGURE=yes ./autogen.sh --prefix=/usr
mkdir -p $(CURDIR)/$(DEST_OBJ_DIR)
cd $(DEST_OBJ_DIR) && CFLAGS="$(CFLAGS)" ../configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
......
......@@ -6,10 +6,8 @@ if [ "$TARGET_DIR" = "" ]; then
TARGET_DIR=/usr/lib/mozembedlite/components
fi
LAST_OBJ_DIR="."
if [ -f ./last_obj_dir ]; then
LAST_OBJ_DIR=`cat last_obj_dir`
fi
BARCH=`uname -m`
LAST_OBJ_DIR="objdir-$BARCH"
mkdir -p $TARGET_DIR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment