* Use the new configure flags.

* Write more log output.

svn path=/nixpkgs/trunk/; revision=550
This commit is contained in:
Eelco Dolstra 2003-11-26 10:52:16 +00:00
parent 1bc488563d
commit 880d223252
2 changed files with 8 additions and 8 deletions

View File

@ -9,13 +9,13 @@ if ! rev=$(curl --silent -k https://svn.cs.uu.nl:12443/repos/trace/nix/trunk/ \
echo $rev > head-revision.nix
if ! storeexpr=$(nix-instantiate do-it.nix); then exit 1; fi
if ! storeexpr=$(nix-instantiate -vvv do-it.nix); then exit 1; fi
if ! nix-store -r "$storeexpr" > /dev/null; then exit 1; fi
if ! nix-store -vvvv -r "$storeexpr" > /dev/null; then exit 1; fi
if ! outpath=$(nix-store -qn "$storeexpr"); then exit 1; fi
uploader="http://losser.st-lab.cs.uu.nl/~eelco/cgi-bin/upload.pl/"
curl --silent -T "$outpath/manual.html" "$uploader" > /dev/null || exit 1
curl --silent -T "$outpath"/nix-*.tar.bz2 "$uploader" > /dev/null || exit 1
curl --silent -T "$outpath/manual.html" "$uploader" || exit 1
curl --silent -T "$outpath"/nix-*.tar.bz2 "$uploader" || exit 1

View File

@ -14,12 +14,12 @@ echo "autoconfing..."
autoreconf -i || exit 1
echo "configuring..."
./configure || exit 1
./configure \
--with-docbook-catalog=$docbook_dtd/xml/dtd/docbook/docbook.cat \
--with-docbook-xsl=$docbook_xslt/xml/xsl/docbook \
--with-xml-flags="--nonet" || exit 1
echo "building..."
export DOCBOOK_DTD=$docbook_dtd/xml/dtd/docbook
export DOCBOOK_XSL=$docbook_xslt/xml/xsl/docbook
#(cd doc && make) || exit 1
make distdir || exit 1
pkgname=$(echo nix-*)
tar cvfz $pkgname.tar.gz $pkgname || exit 1