diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2012-12-03 22:43:26 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-03 23:05:11 +0100 |
| commit | b49ffe2d678b5df4192fb9be4ad50bed9d6d5b7f (patch) | |
| tree | aabab3a816f2e5a98838d5ddcc9d37cab7d0cdac /bootstrap | |
| parent | e05385192ca201d44d607af162f197ad39fd1987 (diff) | |
build: Add `bootstrap' and `sync-with-upstream' scripts.
* bootstrap, nix/sync-with-upstream: New files.
* Makefile.am (EXTRA_DIST): Add `bootstrap'.
* daemon.am (EXTRA_DIST): Add `nix/sync-with-upstream'.
Diffstat (limited to 'bootstrap')
| -rwxr-xr-x | bootstrap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap new file mode 100755 index 00000000000..e445af2f2c7 --- /dev/null +++ b/bootstrap | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Import missing source files and create the build system. | ||
| 4 | |||
| 5 | set -e -x | ||
| 6 | |||
| 7 | top_srcdir="$PWD" | ||
| 8 | export top_srcdir | ||
| 9 | |||
| 10 | if [ ! -d nix-upstream ] | ||
| 11 | then | ||
| 12 | git submodule init | ||
| 13 | fi | ||
| 14 | git submodule update | ||
| 15 | |||
| 16 | exec autoreconf -vfi | ||
