Makefile


Log

Author Commit Date CI Message
Mathieu Lirzin 7eba4a9a 2018-01-22T22:14:55 build: GuixSD doesn't have /bin/bash * Makefile (SHELL): Search 'bash' in the PATH environment variable.
Jim Meyering 29df105d 2018-01-01T16:12:39 update-copyright: add code to handle more special cases After running "make update-copyright" this year, five files required additional manual changes. Automate those adjustments for next year. * Makefile (_year_and_prev): Define. (update-copyright): Add perl commands to induce this year's post- update-copyright adjustments.
Paul Eggert 281b825e 2018-01-01T00:57:25 maint: Run 'make update-copyright'
Paul Eggert 611f1201 2017-12-31T16:43:46 maint: fix 'make update-copyright' * Makefile (update-copyright): Adjust to 2016-11-23 change to config/srclist-update, which changed the format of srclist.txt.
Jim Meyering 2a3dbe99 2017-11-12T09:13:30 maint: shorten https://lists.gnu.org/archive/html/... links Each /archive/html/ part can be replace with /r/. Run this to induce the change: git grep -l archive/html|xargs perl -pi -e 's,/archive/html/,/r/,g' * ChangeLog: Perform that substitution. * Makefile: Likewise. * STATUS-libposix: Likewise. * build-aux/bootstrap: Likewise. * doc/maintain.texi: Likewise. * gnulib-tool: Likewise. * lib/allocator.h: Likewise. * lib/argp-ba.c: Likewise. * lib/argp-pv.c: Likewise. * lib/canon-host.c: Likewise. * lib/canonicalize-lgpl.c: Likewise. * lib/float.in.h: Likewise. * lib/fstat.c: Likewise. * lib/getdelim.c: Likewise. * lib/getprogname.c: Likewise. * lib/glthread/thread.h: Likewise. * lib/intprops.h: Likewise. * lib/mbsrtowcs-state.c: Likewise. * lib/safe-read.c: Likewise. * lib/signal.in.h: Likewise. * lib/stat.c: Likewise. * lib/stdbool.in.h: Likewise. * lib/stdio-impl.h: Likewise. * lib/stdio.in.h: Likewise. * lib/sysexits.in.h: Likewise. * lib/timespec.h: Likewise. * lib/wcsrtombs-state.c: Likewise. * m4/alloca.m4: Likewise. * m4/extern-inline.m4: Likewise. * m4/fstatat.m4: Likewise. * m4/gnulib-common.m4: Likewise. * m4/lib-ignore.m4: Likewise. * m4/printf.m4: Likewise. * m4/regex.m4: Likewise. * m4/stat-size.m4: Likewise. * m4/std-gnu11.m4: Likewise. * m4/stdbool.m4: Likewise. * m4/sys_types_h.m4: Likewise. * m4/threadlib.m4: Likewise. * m4/vararrays.m4: Likewise. * pygnulib/GLImport.py: Likewise. * tests/test-exp.h: Likewise. * tests/test-exp2.h: Likewise. * tests/test-expm1.h: Likewise. * tests/test-fflush2.c: Likewise. * tests/test-getopt_long.h: Likewise. * tests/test-intprops.c: Likewise. * tests/test-log.h: Likewise. * tests/test-log10.h: Likewise. * tests/test-log1p.h: Likewise. * tests/test-log2.h: Likewise. * tests/test-printf-posix.h: Likewise. * tests/test-regex.c: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-stdalign.c: Likewise. * tests/test-stdbool.c: Likewise. * tests/test-vasnprintf-posix.c: Likewise. * tests/test-vasprintf-posix.c: Likewise. * top/maint.mk: Likewise.
Bruno Haible 03eac9d3 2017-09-14T00:35:56 all: Replace many more http URLs by https URLs. Update stale URLs. * users.txt: Remove mention of 'newts'. * lib/localename.c: Update comment about LANG_SOTHO.
Paul Eggert ca35d468 2017-09-13T00:48:18 all: prefer https: URLs
Paul Eggert a3fd683d 2017-01-01T02:59:23 version-etc: new year * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
Paul Eggert 71090a2a 2016-01-01T00:56:19 version-etc: new year * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
Paul Eggert b9bfe784 2015-01-01T01:38:23 version-etc: new year * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
Eric Blake 1276a2c5 2014-01-01T00:04:40 maint: update copyright I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
Eric Blake 9fc81090 2013-01-01T00:50:58 maint: update all copyright year number ranges Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
Jim Meyering 696aa74b 2012-07-15T15:15:46 maint: require that each sc_... command start with "@" * Makefile (sc_prohibit_sc_omitted_at): New rule so that "make sc_maint" helps us avoid this nit.
Jim Meyering 6caa4f5f 2012-01-17T17:51:40 maint: add framework to run syntax-check rules against gnulib sources * cfg.mk: New file, to disable all currently-failing tests. We'll enable them one by one, as they are made to pass. * Makefile (sc_maint): New rule.
Paul Eggert 51e801f2 2012-01-05T23:53:49 In commentary, do not use ` to quote.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Bruno Haible 9354e540 2011-11-13T19:22:08 Makefile: Tweak indentation. * Makefile: Use tab as first character in every line that contains rule commands.
Bruno Haible 7efb4d7a 2011-11-13T19:14:12 Syntax check for copyright statements. * check-copyright: New file. * Makefile (sc_check_copyright): New rule.
Jim Meyering 96ce3bbd 2011-07-07T13:45:25 maint: reduce list of files exempt from sc_prohibit_leading_TABs * Makefile (sc_prohibit_leading_TABs): Don't exempt m4/po.m4, now that it no longer contains leading TABs. Remove unused "url=FIXME" statement.
Jim Meyering 29757e0e 2011-07-05T10:32:30 maint: exempt stdio-read.c and stdio-write.c from the cppi check * Makefile (sc_cpp_indent_check): Exempt stdio-read.c and stdio-write.c per Bruno's request, to accommodate this idiom (no space after "#") even when the function is inside an #if block: char * gets (char *s) #undef gets { ... }
Jim Meyering 00a19598 2011-07-04T12:31:05 maint: indent with spaces, not TABs, and add a rule to check this * tests/test-userspec.c: Indent with spaces, not TABs. * tests/test-argp.c: Likewise. * tests/test-c-stack2.sh: Likewise. * tests/test-parse-duration.sh: Likewise * m4/strtod.m4: Likewise. * m4/alloca.m4: Likewise. * m4/pselect.m4: Likewise. * Makefile (sc_prohibit_leading_TABs): Prohibit leading TABs.
Jim Meyering fac40623 2011-06-24T20:52:00 syntax-check: keep one maint.mk rule in sync with its header * Makefile (sc_check_sym_list): Add a rule to prevent a repeat of the bug Eric has just fixed, with today's commit 25e4c2ec. I prefer to avoid temporary files here, so use <(...), but that is not supported by /bin/sh, so... (SHELL): Define to /bin/bash.
Bruno Haible 4b7a79b0 2011-06-16T21:38:29 syntax-check: Fix typo. * Makefile (allow_AC_LIBOBJ): Mention printf-posix-rpl.m4, not printf-posix.m4. Reported by Jim Meyering.
Jim Meyering 0a9fbea4 2011-06-13T18:01:47 syntax-check: add a rule to help enforce the no-AC_LIBOBJ-in-m4/ policy * Makefile (sc_prohibit_AC_LIBOBJ_in_m4): New rule.
Jim Meyering ca56fa85 2011-03-13T18:45:33 Makefile: rely on GNU make; derive syntax-check rule names Rather than requiring that each sc_ rule be listed as a dependent of "check", use features of GNU make to derive the list. * Makefile (syntax-check-rules): Define. (check): Depend on the new variable, not the hard-coded list. Add a comment listing a few requirements.
Jim Meyering 7e1bc3bd 2011-02-22T16:51:29 maint: sc_cpp_indent_check: remove the "only in lib/" restriction * Makefile (sc_cpp_indent_check): Don't limit the check to files in lib/.
Eric Blake 40ba2143 2011-02-22T08:28:31 maint: avoid any CDPATH issue * Makefile (sc_cpp_indent_check): Anchor cd argument. Signed-off-by: Eric Blake <eblake@redhat.com>
Eric Blake 75fb803d 2011-02-22T08:21:47 maint: adjust cpp indentation for my modules, as well * Makefile (sc_cpp_indent_check): Add my name. * lib/fbufmode.c: Filter through cppi. * lib/fpurge.c: Likewise. * lib/freadable.c: Likewise. * lib/freading.c: Likewise. * lib/fwritable.c: Likewise. * lib/fwriting.c: Likewise. * lib/sigaction.c: Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
Jim Meyering 86fd2114 2011-02-20T23:02:43 maint: adjust cpp indentation to reflect nesting depth I.e., in a block of code that begins with an unnested "#if", put one space between the "#" in column 1 and following token. For example, -#include <sys/vfs.h> +# include <sys/vfs.h> Do this only in .c files that are part of a module I maintain. * lib/linkat.c: Filter through cppi. * lib/nanosleep.c: Likewise. * lib/openat.c: Likewise. * lib/openat-die.c: Likewise. * lib/dup3.c: Likewise. * lib/fchownat.c: Likewise. * lib/flock.c: Likewise. * lib/fsync.c: Likewise. * lib/fts.c: Likewise. * lib/getpass.c: Likewise. * lib/gettimeofday.c: Likewise. * lib/userspec.c: Likewise. * Makefile (sc_cpp_indent_check): New rule, to check this.
Jim Meyering 897b54c3 2011-01-01T22:09:12 maint: update-copyright: exempt doc/INSTALL* * Makefile (update-copyright): Also exclude doc/INSTALL*, since they are generated. Suggested by Bruno Haible.
Jim Meyering 1109937d 2011-01-01T20:13:03 maint: refine the update-copyright rule * Makefile (update-copyright): Also exclude any file that includes the "GENERATED AUTOMATICALLY" comment, being careful not to exclude code that merely generates the comment.
Jim Meyering d3f62c94 2011-01-01T12:10:16 maint: new rule to update copyright year ranges * Makefile (update-copyright): New rule.
Jim Meyering 33f49a46 2011-01-01T11:47:35 maint: indent with TABs in Makefile * Makefile: Expand leading sequences of spaces to TABs
Jim Meyering 138795dd 2010-10-05T12:44:20 tests: require @PRAGMA_COLUMNS@ with each @PRAGMA_SYSTEM_HEADER@ * Makefile (sc_pragma_columns): New syntax-check rule.
Jim Meyering 3a8a76d5 2010-09-04T12:45:22 tests: prohibit augmenting PATH via TESTS_ENVIRONMENT * Makefile (sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT): New rule.
Ian Beckwith 3552ea71 2010-04-26T09:26:35 build: avoid "make check" failure without .git/ directory * Makefile (sc_prefer_ac_check_funcs_once): Skip this test when there is no .git/ directory.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 0f24cad0 2009-10-13T09:15:52 use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/* * modules/pipe-filter-gi: Use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS. * modules/pipe-filter-ii: Likewise. * modules/sys_socket-tests: Likewise. * modules/tsearch-tests: Likewise. * Makefile (sc_prefer_ac_check_funcs_once): New rule. (check): Depend on it.
Bruno Haible ab20cf48 2009-04-02T12:40:42 Combine 4 Makefile rules.
Bruno Haible b3141dc1 2009-04-02T03:10:16 Add targets for the documentation.
Bruno Haible 8d599733 2006-11-20T18:13:41 Beginnings of a Makefile for the gnulib maintainers.