summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)Author
2009-01-01bootstrap: don't use cmp's -s option when reading from a pipeJim Meyering
GNU cmp exits without reading all input when given the -s option, and that can cause termination of the writing process via SIGPIPE. Instead, when reading from a pipe, just redirect output to /dev/null so that all input is read.
2008-12-13more portable bootstrap procedureRalf Wildenhues
* bootstrap (get_version): Fix portability issues in sed script. (check_versions): For buildreq apps, honor the corresponding $APP variable like $AMTAR, $AUTOCONF. (usage): Document this. (update_po_files): Honor $SHA1SUM. (main): Honor $AUTOPOINT, $ACLOCAL, $AUTOCONF, $AUTOHEADER, $AUTOMAKE, $LIBTOOLIZE.
2008-10-22Add better checks and docs for build toolsPádraig Brady
Prompted by a report from Ed Avis: <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14710> * README-hacking: Organise LZMA and Valgrind as as optional requirements rather than in their own sections. Mention bootstrap will now check tool versions. * README-prereq: Make a start on specific instructions for optaining build tools. Currently we just have notes for Fedora linux. * bootstrap.conf: Add the list of tools and versions required. * bootstrap: Add the logic to check for the required tools, and list all required tools and versions if any are missing.
2008-10-10bootstrap: merge from gnulibJim Meyering
2008-10-02bootstrap: merge from gnulibJim Meyering
* bootstrap: add submodule support, git-merge-changelog
2008-08-26bootstrap: preserve permissions of more copied filesJim Meyering
* bootstrap (cp_mark_as_generated): Preserve perms of copied files. Remove a kludge, now that this is fixed.
2008-08-02* bootstrap: Fix unportable expr usage.Ralf Wildenhues
2008-07-28bootstrap: work also when there are no .po files in po/Jim Meyering
* bootstrap (update_po_files): Complete the change that I began in 7ba2dd808232cff3ee76aaceb97f4381c3c9cde4.
2008-07-06* bootstrap: Remove $bt and $bt2 also when not using gettext.Jim Meyering
2008-05-10now that the last of the mk-script-using tests is gone...Jim Meyering
* tests/Makefile.am (EXTRA_DIST): Remove Makefile.am.in and mk-script. Move/adjust SUBDIRS-related comments. * tests/Makefile.am.in: Remove file, no longer used. * tests/mk-script: Likewise. * bootstrap: Remove coreutils-specific SUBDIRS-related code.
2008-04-28tests: don't hard-code coreutils list of tests/ SUBDIRS in bootstrapJim Meyering
* bootstrap: Extract the list from tests/Makefile.am, and die when it is empty -- it will be, eventually.
2008-04-28tests: remove references to tests/wc from bootstrapBo Borgerson
* bootstrap: Don't try to initialize anything in tests/wc. Signed-off-by: Bo Borgerson <gigabo@gmail.com>
2008-04-01bootstrap: remove dangling *.[ch] symlinks from libJim Meyering
* bootstrap [dangling symlink removal]: Match *.[ch] files, too. Suggestion from Eric Blake.
2008-04-01bootstrap: make find's -depth option be the first.Jim Meyering
* bootstrap [dangling symlink removal]: Move find's -depth option to precede all others, to avoid a warning.
2008-04-01* bootstrap: Remove dangling symlinks from lib (aka $source_base), too.Jim Meyering
2008-03-31Emit "#line 1" right after the two 'read-only/GENERATED' lines.Jim Meyering
* bootstrap (cp_mark_as_generated): This preserves line numbering e.g., in assertions, which is important when correlating between coreutils test failures and the original files in gnulib/tests. Suggested by Eric Blake.
2008-03-19bootstrap: restore kludge removed on 2008-03-12: it's still necessary.Jim Meyering
* bootstrap: Make the gnulib-tests/test-*.sh scripts executable. This restores code removed by dec8bb25bb6da2fe9fe6dd63c0fbbd593a0e94cb. Reported by Bob Proulx. Signed-off-by: Jim Meyering <meyering@redhat.com>
2008-03-12* bootstrap: Sync from gnulib and remove part of a local kludge.Jim Meyering
2008-03-02* bootstrap: Remove only *.m4, and only from $m4_base/. Rewrite the comment.Jim Meyering
2008-03-02* bootstrap: Sync from gnulib.Jim Meyering
2008-02-29Merge bootstrap changes from gnulib.Jim Meyering
* bootstrap (MSGID_BUGS_ADDRESS): Define and use. (version_controlled_file): Use "git rm", not "git-rm".
2008-02-20* bootstrap: Remove dangling symlinks before invoking aclocal.Jim Meyering
2007-12-02Copy a .po file into place also when the target doesn't exist.Jim Meyering
* bootstrap (gnulib_tool): ... not just when the checksum differs. So now, if I manually remove po/xx.po, rerunning bootstrap will copy the latest into place. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-11-18bootstrap: work also with 4-argument variant of AC_INIT (from gnulib)Jim Meyering
2007-11-18 Sergey Poznyakoff <gray@gnu.org.ua> * bootstrap (gnulib_extra_files): Adjust sed command.
2007-11-14Another bootstrap kludge.Jim Meyering
* bootstrap: Ensure gnulib-tests/test-*.sh are executable
2007-11-14Enable gnulib-tool's --with-tests option.Jim Meyering
* bootstrap: After all is done, transform the generated gnulib-tests/gnulib.mk. * bootstrap.conf (gnulib_tool_option_extras): Set it here. * gnulib-tests/Makefile.am: New file. * Makefile.am (SUBDIRS): Add gnulib-tests. * configure.ac (AC_CONFIG_FILES): Add gnulib-tests/Makefile. * m4/jm-macros.m4 (coreutils_MACROS) [ARGMATCH_DIE_DECL]: Omit the "extern " prefix to "void usage ()", so that the macro string value can be used to construct a function definition in gnulib's test-argmatch.c.
2007-11-10bootstrap: fix typo to enable use of $gnulib_tool_option_extras.Jim Meyering
* bootstrap (gnulib_tool_options): Add a space before the use of $gnulib_tool_option_extras, so that it's separated from the preceding argument. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-11-05Fix bootstrap failure to handle files like lib/uniwidth/cjk.h.Jim Meyering
* bootstrap (cp_mark_as_generated): Create any required parent destination directories before copying a file into place.
2007-10-25Remove vestiges of cvs-gnulib-checkout process. Now we use git.Jim Meyering
* bootstrap: Remove support for now-unnecessary option, --cvs-user, and envvars CVS_USER, CVS_RSH. 2007-10-24 Micah Cowan <micah@cowan.name>
2007-10-24Avoid diagnostics from sha1sum when there is no cached checksum.Jim Meyering
* bootstrap (update_po_files): Skip the sha1sum check if the po.s1 file hasn't been created yet.
2007-10-24Get gnulib from the git repository, not from an obsolete cvs one.Jim Meyering
* bootstrap: Suggestion from Micah Cowan.
2007-10-04* bootstrap (update_po_files): Work also when there are no .po files in po/.Jim Meyering
2007-10-04* bootstrap (slurp): Adapt to _.h -> .in.h name change.Jim Meyering
Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-09-02* bootstrap (WGET_COMMAND): Remove code to set this variable.Jim Meyering
2007-09-02bootstrap: uses rsync to download the .po filesJim Meyering
* bootstrap (po_download_command_format): New global. (download_po_files): Use rsync. (update_po_files): Don't remove .po files after download, so future rsync runs can take advantage of the copies.
2007-09-01* bootstrap (gnulib_tool): Make sha1sum check quietly.Jim Meyering
Signed-off-by: Jim Meyering <jim@meyering.net>
2007-08-31Solve the unnecessary-.po-file-regeneration problem once and for all.Jim Meyering
* bootstrap (download_po_files): New function, renamed from get_translations. Now, downloads, but doesn't update LINGUAS. (update_po_files): New function.
2007-08-25bootstrap: Ignore more.Jim Meyering
* bootstrap (symlink_to_dir): Add a directory name like uniwidth to e.g., lib/.gitignore. (slurp): Handle the sys_stat_.h -> sys mapping, too. * .hgignore: Remove this file, too. * Makefile.am (EXTRA_DIST): Remove .gitignore and .hgignore.
2007-08-24bootstrap: when fetching .po files, do not remove .gmo files.Jim Meyering
* bootstrap (get_translations): Don't remove *.gmo files! They can be expensive to regenerate.
2007-08-24Create .gitignore and/or .cvsignore from scratch, if absent.Jim Meyering
This is in preparation for my removing those files from version control in the directories managed by gnulib-tool. * bootstrap: New setting: vc_ignore. (insert_sorted_if_absent): Create $file if absent. Adapt to new, possibly empty, list: $vc_ignore.
2007-08-23bootstrap: generate more names and fix a bugJim Meyering
* bootstrap (slurp): Don't test for existence of $copied, which is usually a newline-separated list of file names. When generating ignorable names, also map .sin to .sed, .gperf to .c, and .y to .c.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-21* bootstrap (slurp): Work even in environments where "ls" defaultsPaul Eggert
to "ls -A". Put in a FIXME, though, since the current code does not slurp files whose names start with ".", and this looks like it might be a troublesome area.
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-07-08Run the coreutils-specific code only if tests/Makefile.am.in exists.Jim Meyering
* bootstrap (mam_template): Move definition out of loop.
2007-07-08Create symlinks for gl/{lib,m4}/*, just as for gnulib/{lib,m4}/*.Jim Meyering
* bootstrap (symlink_to_dir): Rename function from symlink_to_gnulib. Add a directory parameter. Update all callers. (cp_mark_as_generated): Also check for -- and link to -- files in gl/.
2007-07-08Adapt to deeper hierarchy in gnulib.Jim Meyering
* bootstrap (gnulib_tool): If the destination directory doesn't exist, create it. This is required at least for "lib/uniwidth/cjk.h".
2007-07-05* bootstrap: Merge in changes from gnulib.Jim Meyering
2007-05-15Generate a dozen test-related Makefile.am files at bootstrap-time.Jim Meyering
* README-hacking: Build-from-checkout now require Perl, too. * bootstrap: Now that these generated Makefile.am files are no longer under version control, they must be created at bootstrap time.
2007-03-17Fix a silly syntax error introduced in last change.Jim Meyering