small fixes to allow using --with-linked-git & --with-external-tar

This commit is contained in:
Christian Lohmaier 2011-01-08 18:45:25 +01:00
parent 6e56de169d
commit cca3388bd4
3 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View file

@ -32,6 +32,7 @@
/visibility.cxx
/post_download
/bin/repo-list
/src.downloaded
# misc
/set_soenv.last

View file

@ -2,7 +2,7 @@
SHELL=/usr/bin/env bash
all: Makefile dmake/dmake@EXEEXT@ fetch
all: Makefile dmake/dmake@EXEEXT@ src.downloaded
@. ./*[Ee]nv.[Ss]et.sh && \
cd instsetoo_native && \
build.pl -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
@ -34,11 +34,11 @@ dmake/dmake@EXEEXT@:
@. ./*[Ee]nv.[Ss]et.sh && \
./bootstrap
src/downloaded: ooo.lst download
src.downloaded: ooo.lst download
@. ./*[Ee]nv.[Ss]et.sh && \
$$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
fetch: src/downloaded
fetch: src.downloaded
Makefile: configure.in set_soenv.in Makefile.in
./autogen.sh

View file

@ -42,6 +42,9 @@ if [ -d .git ] ; then
mkdir clone
for i in $GIT_REPO_NAMES ; do
bin/git-new-workdir $GIT_LINK_SRC/$i clone/$i
for i in clone/$i/* ; do
ln -sf $i $(basename $i)
done
done
fi
fi
@ -229,3 +232,4 @@ fi
[ -x "post_download" ] || { echo "'post_download' script not found, run ./autogen.sh." ; exit 1 ; }
./post_download || exit 1
# vim:set shiftwidth=4 softtabstop=4 expandtab: