]> git.draconx.ca Git - cdecl99.git/blobdiff - bootstrap
Make fix-gnulib only need a single output file.
[cdecl99.git] / bootstrap
index 94d0bc859e2739fe6fc495c9ff1214ba5c54dbf4..1362e25ceda5da2373334d2c8608ac701a5fd5a0 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -6,6 +6,7 @@ die() { printf '%s\n' "$@" 1>&2; kill -USR1 $$; }
 : ${AUTORECONF=autoreconf}
 : ${GNULIB=gnulib}
 : ${GIT=git}
+: ${PERL=perl}
 
 $GIT submodule update --init \
        || echo "Failed to update Gnulib sources from git."
@@ -16,4 +17,7 @@ else
        die "Gnulib sources are not properly installed in gnulib/."
 fi
 
+$PERL fix-gnulib.pl -o lib/gnulib.mk -i lib/gnulib.mk.in \
+       || die "Failed to fixup Gnulib makefile fragment."
+
 $AUTORECONF -fis