summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* maint: use alignasof, not stdalignPaul Eggert2023-02-041-1/+0
| | | | | | | * .gitignore: Update accordingly. * bootstrap.conf (gnulib_modules): Replace obsolescent stdalign with alignasof. * gl/modules/randread (Depends-on): Depend on alignasof, not stdalign.
* maint: add lib/error.h to .gitignorePádraig Brady2023-01-171-0/+1
| | | | | * .gitignore: Add /lib/error.h as suggested by sc_gitignore_missing as a result of gnulib change 2886cca8.
* maint: update .gitignorePaul Eggert2023-01-071-0/+2
| | | | | * .gitignore: Add confdefs*, conftest* (temporaries built by ‘configure’).
* maint: fix recent syntax-check failuresPádraig Brady2022-09-251-0/+2
| | | | | | | * .gitignore: Add new headers from gnulib. * src/basenc.c: Adjust line length due to replacement of 'verify' with 'static_assert'. * src/od.c: Likewise.
* maint: add lib/gmp.h to .gitignorePádraig Brady2022-09-021-0/+1
| | | | | * .gitignore: Add generated file. Tested with: ./configure --without-libgmp && make && git status
* build: update gnulib submodule to latestPádraig Brady2022-01-021-0/+1
| | | | | | | | mainly to get updated copyright year * doc/fdl.texi: Sync from gnulib. * .gitignore: Add lib/unictype, as bitmap.h therein is depended on since gnulib commit f698ea71
* maint: update .gitignorePádraig Brady2021-08-141-0/+1
| | | | * .gitignore: ignore new lib/malloc gnulib directory.
* maint: update .gitignorePaul Eggert2021-07-311-1/+0
|
* maint: avoid recent syntax-check issuesPádraig Brady2021-07-261-0/+1
| | | | | * .gitignore: Cater for recently added poll module. * src/stdbuf.c: Avoid false positive from sc_prohibit_readlink.
* maint: ignore all .a files in .gitignorePádraig Brady2021-03-291-2/+1
| | | | | | | * .gitignore: Rather than add the new src/libcksum_pclmul.a, just ignore any such libs. * src/.gitignore: Likewise. Reported by Kristoffer Brånemyr.
* maint: minor cleanupBernhard Voelker2020-11-221-5/+6
| | | | | | | | | | | The previous commit introduced a couple of syntax-check failures. * .gitignore (/lib/se-label.h): Add entry to silence the sc_gitignore_missing check. Sort entries in C locale. * po/POTFILES.in (src/selinux.c): Remove entry as this source doesn't contain any translatable strings anymore; avoids a sc_po_check failure. * src/mv.c: Replace tabs by spaces to avoid complaints by sc_prohibit_tab_based_indentation.
* maint: add lib/parse-datetime-gen.h to .gitignorePádraig Brady2020-10-251-0/+1
| | | | | * .gitignore: update to ignore new file generated by the latest gnulib update.
* maint: ensure .deps/ in the project root is ignored by gitPádraig Brady2020-02-271-1/+1
| | | | * .gitignore: s|*/.deps/|.deps|
* maint: add lib/iconv_open-zos.h to .gitignoreEmil Engler2020-01-011-0/+1
| | | | * .gitignore: Add file newly generated by gnulib commit 49e78fc
* maint: update gnulib to latestPádraig Brady2018-06-241-0/+5
| | | | | | | | * gnulib: Update to latest. * .gitignore: Add new entries. * bootstrap.conf: Enable wchar-single, which will enable more efficient replacements of wcwidth and mbrtowc, as we indicate that the charset will no change between invocations of these functions.
* maint: avoid false positive in src/fs-magic-comparePádraig Brady2018-06-241-0/+3
| | | | | | | * src/local.mk (fs_normalize_perl_subst): `make src/fs-magic-compare` was reporting incorrectly that AFS was not being handled. Add a mapping to our KAFS identifier. * .gitignore: Add intermediate files from `make src/fs-magic-compare`
* maint: add doc/coverage to .gitignorePádraig Brady2017-12-201-0/+1
| | | | * .gitignore: Ignore the generated coverage report.
* maint: avoid a syntax-check failurePádraig Brady2017-08-311-4/+0
| | | | | * .gitignore: Remove lines indicated by sc_gitignore_redundant in a freshly checked out repo.
* maint: fix recent syntax-check failuresPádraig Brady2017-07-231-0/+1
| | | | | * .gitignore: Add /lib/utime.h from the recent gnulib update. * src/nproc.c (usage): Adjust spacing to placate help2man.
* build: update gnulib submodule to latestPádraig Brady2017-04-261-0/+1
| | | | * .gitignore: Add new entry as indicated by `make syntax-check`.
* maint: tweaks so syntax tests pass for previous commitPádraig Brady2017-02-171-1/+0
| | | | | * .gitignore: placate sc_gitignore_redundant. * po/POTFILES.in: placate sc_po_check.
* maint: add build-aux/ar-lib to .gitignoreBernhard Voelker2016-11-231-0/+1
| | | | | * .gitignore: Add entry for the above file which is created by './bootstrap'.
* gnulib: update to latest and adapt printf-quote.sh testJim Meyering2016-10-151-0/+1
| | | | | | * .gitignore: Add /lib/limits.h. * tests/misc/printf-quote.sh: Reflect that a single quote is now rendered as "'", rather than as ''\'''.
* maint: sync .gitignore items with gnulib entriesPádraig Brady2015-06-071-3/+13
| | | | | | | | | | * .gitignore: Add entries for potentially generated headers. Also remove a couple of items already present in lib/.gitignore. * cfg.mk (sc_gitignore_missing): A new syntax check rule to identify missing .gitignore entries. (sc_gitignore_redundant): A new syntax check rule to identify redundant .gitignore entries. Reported by Tomas Nordin.
* build: fix dependency issues with man page generationPádraig Brady2014-09-191-1/+0
| | | | | | | | | | | | * .gitignore: Remove reference to no longer generated make file. * configure.ac: Don't bother generating placeholder make file. * man/local.mk: Hardcode the man page deps list for normal builds to be compatible with all make implementations and configure options. Note in SINGLE_BINARY mode, all man pages will be generated on any change to the coreutils binary, but development will generally not be done in this mode, so this shouldn't be an issue. Fixes http://bugs.gnu.org/18055
* build: support building all tools in a single binaryAlex Deymo2014-07-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --enable-single-binary option to the configure file. When enabled, this option builds a single binary file containing the selected tools. Which tool gets executed depends on the value of argv[0] which can be set implicitly through symlinks to the single program. This setup reduces significantly the size of a complete coreutils install, since code from lib/libcoreutils.a is not duplicated in every one of the more than 100 binaries. Runtime overhead is increased due to more dynamic libraries being loaded, and extra initialization being performed for all utils. Also initially a larger binary is loaded from storage, though this is usually alleviated due to caching and lazy mmaping of unused blocks, and in fact the single binary should have better caching characteristics. Comparing the size of the individual versus single binary on x86_64: $ cd src $ size coreutils $ size -t $(../build-aux/gen-lists-of-programs.sh --list-progs | grep -Ev '(coreutils|libstdbuf)') | tail -n1 text data bss dec hex filename 1097416 5388 88432 1191236 122d44 src/coreutils 4901010 124964 163768 5189742 4f306e (TOTALS) Storage requirements are reduced similarly: $ cd src $ du -h coreutils $ du -ch $(../build-aux/gen-lists-of-programs.sh --list-progs | grep -Ev '(coreutils|libstdbuf)') | tail -n1 1.2M coreutils 5.3M total When installing, the makefile will create either symlinks or shebangs based on the --enable-single-binary setting, for each configured tool. In this way, all the tools are still callable individually, but they are all implemented by the same "coreutils" binary installed on the same directory. * .gitignore: Add new generated files. * Makefile.am: New rules to generate build-aux/gen-single-binary.sh and install symlinks. * NEWS: Mention the new feature. * README: Add "coreutils" to the list of utils. * bootstrap.conf: Regenerate src/single-binary.mk * build-aux/gen-lists-of-programs.sh: New --list-progs option. * build-aux/gen-single-binary.sh: Regenerate * configure.ac: New --enable-single-binary option and other variables. Disallow --enable-single-binary=symlinks with --program-prefix et. al. * man/coreutils.x: Manpage hook. * man/local.mk: Add manpage hook and fix dependencies. * src/coreutils.c: Multicall implementation. * src/local.mk: New rules for the single binary option. * tests/local.mk: Add $single_binary_progs to support require_built_() from init.cfg * tests/misc/env.sh: Avoid the use of symlink to echo. * tests/misc/help-version.sh: Add exception for coreutils. * tests/install/basic-1.sh: Really avoid using ginstall strip functionality if there is an issue with the independent strip command. * src/kill.c: Changes to call exit() in main. * src/readlink.c: Likewise. * src/shuf.c: Likewise. * src/timeout.c: Likewise. * src/truncate.c: Likewise.
* maint: avoid patching help2manBernhard Voelker2013-09-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit cde1ea0e separated the coreutils-specific patches from help2man. Most changes had been made to accommodate to the coreutils style guide, i.e., to avoid syntax-check failures like sc_long_lines. Yet 2 changes had to be put into the patch help2man.diff. But this added the dependency to patch(1) in distribution builds. Incidentally, the 2 remaining parts of the patch can easily be done outside of help2man. Therefore, this commit partly reverts the recent separation of help2man into 'help2man.in' and 'help2man.diff', and instead uses the original help2man script. * man/help2man.in: Rename to ... * man/help2man: ... this file. * man/help2man.diff: Remove. * man/local.mk (mandeps): Remove man/help2man. (man/help2man): Remove recipe. (.x.1): Add the --info-page option when calling help2man in order to change the name of the texinfo manual from the default, "info PRG", to "info coreutils 'PRG invocation'". Furthermore, use an sed pattern to remove the sentence starting with "For complete documentation". * .gitignore (/man/help2man): Remove entry. * .x-update-copyright: Replace the entries for the files 'man/help2man.diff' and 'man/help2man.in' by 'man/help2man'. * cfg.mk (sc_long_lines): Instead of 'man/help2man.in', exempt 'man/help2man' from this test. (sc_po_check): Likewise. (sc_space_tab): Instead of 'man/help2man.diff', exempt 'man/help2man' from this test. (sc_trailing_blank): Likewise. (sc_prohibit_tab_based_indentation): Instead of 'man/help2man.in' and 'man/help2man.diff', exempt 'man/help2man'. * man/dummy-man: Recognize the option --info-page=... as no-op.
* maint: update help2man to 1.43.3Bernhard Voelker2013-09-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of diverging further from the upstream GNU help2man project (http://www.gnu.org/software/help2man/), hold a copy of the original script and keep track of our changes in a separate patch file. The man pages created with the new version show the following, non-invasive differences: a) command options in the EXAMPLE sections are no longer in bold format, b) file names are underlined now consistently. * man/help2man: Rename to ... * man/help2man.in: ... this file, and update content from the upstream GNU help2man project. * man/help2man.diff: Add patch file for help2man to remove the sentence "For complete documentation ..." (see commit 5d4f09d8), and to emit "info coreutils 'PROG invocation'" into the man pages (77abf69a). * man/local.mk (mandeps): Add help2man to the dependencies of the man pages. (man/help2man): Add rule to generate this script from the upstream help2man.in file and the help2man.diff patch. * .gitignore: Add man/help2man as it is no longer version controlled. * cfg.mk (sc_long_lines): Exempt help2man.in from this check. (sc_po_check): Likewise. (sc_space_tab): Likewise. (sc_trailing_blank): Exempt man/help2man.diff from this check. (sc_prohibit_tab_based_indentation): Instead of help2man, now exempt both help2man.in and help2man.diff from this test. * .x-update-copyright: Add new file and add the above new help2man files as well as the COPYING file.
* maint: update gitignore entriesPádraig Brady2013-06-131-0/+2
| | | | | * .gitignore: Exclude the generated doc/manual directory, and also the src/fs-latest-magic.h file referenced in README-release.
* maint: fix alphabetical order in .gitignoreBernhard Voelker2013-01-201-1/+1
| | | | | | | | Since commit v8.20-67-g0f525b6, .gitignore sometimes showed up as changed because the entries "*.gcda" and "*.gcno" had not been in alphabetical order. * .gitignore: Exchange the entries "*.gcda" and "*.gcno".
* maint: update gitignore entriesAssaf Gordon2012-12-151-0/+2
| | | | * .gitignore: ignore GCC coverage data files.
* factor: cleanup for primes.hPaul Eggert2012-11-131-0/+1
| | | | | * .gitignore: Add src/primes.h back, since it's no longer in the repository.
* factor: maintainer builds primes.h, not builderPaul Eggert2012-11-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, the maintainer builds primes.h and it is part of the tarball. primes.h's contents are not architecture-specific. * .gitignore: Remove /src/primes.h. * src/factor.c: Include verify.h. (W): New constant. Verify that uintmax_t lacks holes and that W is no wider than the integers used to generate primes.h. * src/local.mk (EXTRA_DIST): Add src/primes.h. (BUILT_SOURCES, CLEANFILES): Remove src/primes.h. ($(top_srcdir)/src/primes.h): Rename from src/primes.h. Do not depend on src/make-prime-list. Instead, use sub-make to build, so that we build primes.h only if it does not exist. * src/make-prime-list.c: Include <limits.h>, for ULONG_MAX. (wide_uint): Define to uintmax_t or unsigned __int128 if not #defined. (struct prime, binvert, process_prime): Use it instead of uintmax_t. (print_wide_uint): New function. This generates the proper pinv value regardless of the width of uintmax_t on the target, so long as the width doesn't exceed that of the width of wide_uint on the maintainer host that generated src/primes.h. (output_primes): Use it. Output WIDE_UINT_BITS, too. Let the target compute its own lim, since its uintmax_t may be narrower than ours. (SZ): Remove. * src/primes.h: New file, generated with 128-bit integers and usable on any host where uintmax_t's width is no greater than 128 bits.
* maint: fix factor's test file name pattern in .gitignoreBernhard Voelker2012-11-051-1/+1
| | | | | * .gitignore: Adapt the entry for the files generated during the factor tests (see v8.20-9-g1cace4a).
* factor: merge with preexisting factor; integrate tests; avoid warningsJim Meyering2012-10-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/factor.c: Renamed from factor-ng.c, with the following changes: Adjust copyright header to be consistent with others. Use xmalloc and xrealloc, to avoid segv upon OOM. Switch back to using readtokens to handle input. Diagnose invalid inputs. s/fprintf+exit/error/ (print_factors): Add comments. (strto2uintmax): Return strtol_error, not int. (read_item): Remove, no longer used. (main): Use atexit(close_stdout) so that we don't ignore failed write. * cfg.mk: Exempt src/longlong.h from several tests. Exempt run.sh from the test-list-consistency test. Exempt make-prime-list.c from numerous tests, since we won't be making it conform: it must not link with libcoreutils.a. Exempt factor-ng.c from the no-upper-case error message test. * AUTHORS (factor): Add Torbjörn and Niels. * tests/local.mk (factor_tests): Encode the 37 tests. ($(factor_tests)): Rule to generate a test script for each test. * tests/factor/run.sh: New script, marked as very expensive. * .gitignore: Ignore new generated files. * src/local.mk (src/primes.h): New rule. (noinst_PROGRAMS): Add make-prime-list. (noinst_HEADERS): Add longlong.h. Remove all wheel-related rules and files. * src/wheel-gen.pl: Remove file. maint: mark set-but-not-used variables with ATTRIBUTE_UNUSED * src/factor-ng.c (redcify, prime_p, isqrt2): Mark them, so we don't have to disable -Wunused-but-set-variable. maint: use __builtin_expect only if __GNUC__ * src/factor-ng.c (LIKELY, UNLIKELY) [__GNUC__]: Add #ifdef guard. build: avoid warning about unused macro * src/factor-ng.c (__GMP_DECLSPEC): Don't define here * src/longlong.h (__GMP_DECLSPEC): Define if not already defined.
* build: refactor how lists of coreutils programs are definedStefano Lattarini2012-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation of future changes. Still, this patch leaves the build system in a better shape; true, with more indirections, but also with less convoluted and brittle hacks. Unfortunately, this commit also makes some rebuild rules incomplete; that will son be fixed by follow-up patches. * build-aux/gen-lists-of-programs.sh: New, generates autoconf and automake input fragments that define "lists" of all coreutils programs, with further distinctions about how and when these programs should be built (by default; if the system is capable enough; only if the user asks for them explicitly). This is useful to avoid duplicating the definitions of these lists among several files (at least 'configure.ac' 'src/Makefile.am'); such duplication had proved a source of inconsistencies and bugs in the past. And the pre-existing way to avoid such duplication, as implemented in 'configure.ac' before this patch, was overly complex and brittle. * Makefile.am (EXTRA_DIST): Distribute the new script. * bootstrap.conf (bootstrap_post_import_hook): Run the new script to generate 'm4/cu-progs.m4' and 'src/cu-progs.mk'. * .gitignore: Ignore those files. * configure.ac: Include 'm4/cu-progs.m4', and decidedly simplify most of the program lists definition and processing accordingly. * src/Makefile.am: Similarly include 'src/cu-progs.mk', containing definition of variables $(default__progs), $(no_install__progs) and $(build_if_possible__progs). Accordingly ... (no_install__progs, build_if_possible__progs): ... remove. (EXTRA_DIST): Adjust definition. Adjust a comment.
* maint: slightly improve .gitignoreStefano Lattarini2012-08-301-2/+2
| | | | | | * .gitignore: Ignore '.deps' only when it's a directory. Ignore '*.trs' only if they are in a subdirectory of the 'tests/' directory.
* maint: ignore *.trs files, lib/getopt.h and build-aux/test-driverJim Meyering2012-01-041-0/+3
| | | | | * .gitignore: Also ignore automake's new .trs files and its build-aux/test-driver, as well as lib/getopt.h.
* maint: append many lib/ and m4/ names to .gitignoreJim Meyering2011-11-241-0/+77
|
* touch: update to latest gnulib to fix Solaris 10 touch segfaultJim Meyering2011-03-131-1/+1
| | | | | | | | | * gnulib: Update to latest, to address http://debbugs.gnu.org/8230. When built on Solaris 9 and run on Solaris 10, touch would segfault. Reported by Ben Walton. * bootstrap: Update from gnulib. * tests/init.sh: Likewise. * NEWS (Bug fixes): Mention this.
* tests: avoid gross inefficiency in "make test"Jim Meyering2011-02-101-0/+1
| | | | | | | | | | | | Do not run a sub-make to set up the environment for each and every test script. Instead, run it just once and store the result in a file. * tests/check.mk (built_programs): Remove definition. (.built-programs): New rule to create the temporary file. (CLEANFILES): Arrange to remove it. (TESTS_ENVIRONMENT): Simply cat .built-programs, rather than running the sub-make. * .gitignore: Ignore it.
* maint: generate much of the THANKS fileJim Meyering2011-01-011-0/+2
| | | | | | | | | | | | | | | | | | Before this change, we had a tendency to manually list each contributor's name in THANKS. Now, each commit "Author" is included in the generated THANKS file automatically, and most of the old THANKS file is now a template, THANKS.in. We'll still have to manually list the names of people who report problems without a usable patch. * THANKS.in: New file, derived from THANKS, but removing names of those who are listed as git log 'Author:'s. * THANKS: Remove file. * thanks-gen: New file. * Makefile.am (THANKS): New rule. (EXTRA_DIST): Add .mailmap, THANKS.in and thanks-gen. * .gitignore: Add THANKS and THANKS-to-translators. * .mailmap: Unify on single address and name-spelling per contributor.
* cp, mv, touch: fix file time manipulation on Solaris 10Eric Blake2010-11-041-0/+1
| | | | | * gnulib: Update to latest, for futimens fix. * .gitignore: Ignore another recent gnulib-generated file.
* .gitignore: anchor patternsJim Meyering2010-10-171-71/+68
| | | | | | * .gitignore: Anchor most patterns. Remove .tarball-version. * doc/.gitignore: Anchor all patterns. Remove getdate.texi and get_date.texi.
* maint: ignore another gnulib generated fileEric Blake2010-06-141-0/+1
| | | | * .gnulib: Exclude lib/c++defs.h.
* maint: drop *.lzma suportEric Blake2010-03-111-2/+0
| | | | * .gitignore: Remove *.lzma lines.
* maint: ignore *.xz filesEric Blake2010-03-101-0/+2
| | | | | * .gitignore: Ignore *.xz created by 'make dist', now that we no longer produce *.lzma.
* build: ignore another gnulib artifactEric Blake2010-02-151-0/+1
| | | | * .gitignore: Add lib/warn-on-use.h.
* maint: apply correct license to auxiliary filesEric Blake2010-01-061-0/+1
| | | | | | | | | * gnulib: Update, for maint.mk improvements. * HACKING: Use GFDL 1.3, not 1.2. * NEWS: Likewise. * README: Likewise. * cfg.mk (old_NEWS_hash): Update accordingly. * .gitignore: Ignore file created by 'make update-NEWS-hash'.
* maint: ignore more built filesEric Blake2009-12-261-0/+3
| | | | | | | Recent gnulib changes added new built files. * .gitignore: Add arg-nonnull.h, link-warning.h, unused-parameter.h.