1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-08-28 13:25:48 +00:00

34 Commits

Author SHA1 Message Date
Paul Eggert a3fd683de3 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'.
2017-01-01 02:59:23 +00:00
Paul Eggert 71090a2a31 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'.
2016-01-01 00:57:21 -08:00
Paul Eggert b9bfe78424 version-etc: new year
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
* all files: Run 'make update-copyright'.
2014-12-31 17:47:54 -08:00
Eric Blake 1276a2c5f2 maint: update copyright
I ran 'make update-copyright'.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-01-01 00:07:10 -07:00
Eric Blake 9fc81090f6 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>
2013-01-01 00:50:58 +00:00
Jim Meyering 696aa74b38 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.
2012-07-15 15:15:46 +02:00
Jim Meyering 6caa4f5fa9 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.
2012-01-21 15:07:01 +01:00
Paul Eggert 51e801f2f2 In commentary, do not use ` to quote. 2012-01-05 23:55:42 -08:00
Jim Meyering 1602f0afed maint: update all copyright year number ranges
Run "make update-copyright".
2012-01-01 10:04:58 +01:00
Bruno Haible 9354e54028 Makefile: Tweak indentation.
* Makefile: Use tab as first character in every line that contains rule
commands.
2011-11-13 19:22:08 +01:00
Bruno Haible 7efb4d7a2a Syntax check for copyright statements.
* check-copyright: New file.
* Makefile (sc_check_copyright): New rule.
2011-11-13 19:14:12 +01:00
Jim Meyering 96ce3bbd65 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.
2011-07-08 23:18:27 +02:00
Jim Meyering 29757e0e90 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
{
  ...
}
2011-07-05 10:32:30 +02:00
Jim Meyering 00a195984d 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.
2011-07-05 10:25:16 +02:00
Jim Meyering fac4062335 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.
2011-06-24 20:55:45 +02:00
Bruno Haible 4b7a79b005 syntax-check: Fix typo.
* Makefile (allow_AC_LIBOBJ): Mention printf-posix-rpl.m4, not
printf-posix.m4.
Reported by Jim Meyering.
2011-06-16 21:40:24 +02:00
Jim Meyering 0a9fbea492 syntax-check: add a rule to help enforce the no-AC_LIBOBJ-in-m4/ policy
* Makefile (sc_prohibit_AC_LIBOBJ_in_m4): New rule.
2011-06-16 08:30:01 +02:00
Jim Meyering ca56fa858e 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.
2011-03-13 18:54:27 +01:00
Jim Meyering 7e1bc3bdd1 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/.
2011-02-22 16:51:29 +01:00
Eric Blake 40ba214375 maint: avoid any CDPATH issue
* Makefile (sc_cpp_indent_check): Anchor cd argument.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-02-22 08:28:31 -07:00
Eric Blake 75fb803d0d 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>
2011-02-22 08:21:47 -07:00
Jim Meyering 86fd2114ac 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.
2011-02-22 14:51:31 +01:00
Jim Meyering 897b54c334 maint: update-copyright: exempt doc/INSTALL*
* Makefile (update-copyright): Also exclude doc/INSTALL*,
since they are generated.  Suggested by Bruno Haible.
2011-01-01 22:09:37 +01:00
Jim Meyering 1109937d44 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.
2011-01-01 20:13:03 +01:00
Jim Meyering d3f62c9484 maint: new rule to update copyright year ranges
* Makefile (update-copyright): New rule.
2011-01-01 12:10:16 +01:00
Jim Meyering 33f49a46e9 maint: indent with TABs in Makefile
* Makefile: Expand leading sequences of spaces to TABs
2011-01-01 11:47:35 +01:00
Jim Meyering 138795dded tests: require @PRAGMA_COLUMNS@ with each @PRAGMA_SYSTEM_HEADER@
* Makefile (sc_pragma_columns): New syntax-check rule.
2010-10-05 12:47:12 +02:00
Jim Meyering 3a8a76d5b3 tests: prohibit augmenting PATH via TESTS_ENVIRONMENT
* Makefile (sc_prohibit_augmenting_PATH_via_TESTS_ENVIRONMENT): New rule.
2010-09-04 13:41:35 +02:00
Ian Beckwith 3552ea714b build: avoid "make check" failure without .git/ directory
* Makefile (sc_prefer_ac_check_funcs_once): Skip this test when
there is no .git/ directory.
2010-04-26 09:29:45 +02:00
Jim Meyering b2e2010c7c 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
2010-01-01 10:42:00 +01:00
Jim Meyering 0f24cad045 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.
2009-10-13 09:15:52 +02:00
Bruno Haible ab20cf481c Combine 4 Makefile rules. 2009-04-02 12:40:42 +02:00
Bruno Haible b3141dc155 Add targets for the documentation. 2009-04-02 03:10:16 +02:00
Bruno Haible 8d599733fb Beginnings of a Makefile for the gnulib maintainers. 2006-11-20 18:13:41 +00:00