Kaydet (Commit) 09e2349c authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Björn Michaelsen

Save downloaded tarballs under external/tarballs/

The choice of src/ as a place to save those tarballs was unfortunate,
since it is used everywhere else for own source code. After moving all
external modules to external/, it makes sense to put the tarballs there
too and, while at it, use a more appropriate name.

If src exist as a directory, we move it to external/tarballs and leave
a link behind for backward compat for people switching from after to
before the change in the git repo.

Change-Id: I045c4470945f5fadf7760855833ef58e6594ec80
Reviewed-on: https://gerrit.libreoffice.org/6597Reviewed-by: 's avatarBjörn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: 's avatarBjörn Michaelsen <bjoern.michaelsen@canonical.com>
üst 3e8fe4d8
......@@ -16,7 +16,7 @@
# if that is not the case, don't hide it here, but try to fix it
#
# The intent is that after a make distclean, .gitignore
# should not catch anything but possibly /src
# should not catch anything but possibly /external/tarballs
#
# where stuff are built
......@@ -24,7 +24,7 @@
/workdir
# where the external downloads maybe located
/src
/external/tarballs
# autoconf generated stuff
/aclocal.m4
......
......@@ -4669,7 +4669,11 @@ AC_SUBST([SYSTEM_FONTCONFIG])
dnl whether to find & fetch external tarballs?
dnl ===================================================================
if test -z "$TARFILE_LOCATION"; then
TARFILE_LOCATION="$SRC_ROOT/src"
if test -d "$SRC_ROOT/src" ; then
mv "$SRC_ROOT/src" "$SRC_ROOT/external/tarballs"
ln -s "$SRC_ROOT/external/tarballs" "$SRC_ROOT/src"
fi
TARFILE_LOCATION="$SRC_ROOT/external/tarballs"
fi
AC_SUBST(TARFILE_LOCATION)
......
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