summaryrefslogtreecommitdiffstats
path: root/cfg.mk
Commit message (Collapse)AuthorAgeFilesLines
* maint: remove a subsumed syntax-check ruleJim Meyering2012-09-171-11/+1
| | | | | | * cfg.mk (sc_prohibit_trailing_blank_lines): Remove rule. It is now subsumed by the much more efficient sc_prohibit_empty_lines_at_EOF rule in gnulib's maint.mk.
* syntax: Exclude examples and test program from <config.h> requirementRichard W.M. Jones2012-09-171-0/+1
| | | | (thanks Jim Meyering).
* syntax: Allow strncpy in launch-*.c files (thanks Jim Meyering).Richard W.M. Jones2012-09-171-0/+1
| | | | | We use strncpy, justifiably, to copy the socket name into the fixed length Unix domain sun_path buffer.
* syntax: Exclude examples from strcmp and strncmp checks (thanks Jim Meyering).Richard W.M. Jones2012-09-171-0/+2
|
* syntax: Ignore documentation when testing for magic number exit() calls ↵Richard W.M. Jones2012-09-171-0/+1
| | | | (thanks Jim Meyering).
* syntax: Exclude PO files from doubled words test (thanks Jim Meyering).Richard W.M. Jones2012-09-171-0/+1
|
* syntax: Remove definitions of O_CLOEXEC, except in examples (thanks Jim ↵Richard W.M. Jones2012-09-171-0/+1
| | | | | | | Meyering). The gnulib <fcntl.h> replacement header will now define this symbol if it's not defined already.
* syntax: Exclude period in error message checks from PHP programs (thanks: ↵Richard W.M. Jones2012-09-171-0/+1
| | | | Jim Meyering).
* syntax: Disable cast arg to free test (thanks Jim Meyering).Richard W.M. Jones2012-09-171-1/+2
|
* syntax: Exclude certain files from bindtextdomain test (thanks Jim Meyering).Richard W.M. Jones2012-09-171-0/+3
|
* syntax: Remove test for TAB indentation.Richard W.M. Jones2012-09-151-8/+0
| | | | | Nothing particularly wrong with using TABs for indentation, and this test also has a lot of false positives.
* syntax: Replace _prohibit_regexp with _sc_search_regexp.Richard Jones2010-09-101-6/+6
|
* accommodate leading "+" in git submodule outputJim Meyering2009-12-071-1/+1
| | | | | * cfg.mk (_submodule_hash): Also filter out "+". * autogen.sh: Likewise.
* build: correct sed transformation to work also on .git-module-statusJim Meyering2009-11-201-1/+3
| | | | | | | | | | | | | | | | My patch was wrong. I kept the sed transformation the same in the two places, but it wasn't strict enough to also work on the file contents. Sorry about that. This fixes it. >From 93927cc7b9f63c414e5bfeb7eba393fde3295601 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Fri, 20 Nov 2009 16:23:17 +0100 Subject: [PATCH libguestfs] build: correct sed transformation to work also on .git-module-status * autogen.sh: Use a more strict sed transformation so it works also on the contents of .git-module-status, which has no prefix. * cfg.mk (_submodule_hash): Use a stricter sed regexp.
* tests: enable strcmp-related syntax-check testsJim Meyering2009-11-091-2/+0
| | | | | * cfg.mk (local-checks-to-skip): Don't skip these checks: sc_prohibit_strcmp_and_strncmp, sc_prohibit_strcmp.
* avoid use of all ctype macrosJim Meyering2009-09-241-1/+0
| | | | | | | | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Don't disable sc_avoid_ctype_macros. * fish/tilde.c: Remove unnecessary inclusion of ctype.h. * bootstrap: Add gnulib's c-ctype module to the list. * daemon/m4/gnulib-cache.m4: Likewise. * daemon/ext2.c: Include "c-ctype.h", not <ctype.h>. Use c_isspace, etc, rather than isspace. * daemon/guestfsd.c: Likewise. * daemon/lvm.c: Likewise. * daemon/proto.c: Likewise. * fish/fish.c: Likewise. * fish/tilde.c: Likewise. * src/generator.ml: Likewise. * src/guestfs.c: Likewise. * examples/to-xml.c: Likewise. * examples/Makefile.am (to_xml_CPPFLAGS): Add -I$(top_srcdir)/gnulib/lib so inclusion of "c-ctype.h" works. (to_xml_CPPFLAGS): Rename from to_xml_CFLAGS.
* maint: prune dead wood from list of skipped syntax-check rulesJim Meyering2009-09-241-18/+1
| | | | | * cfg.mk (local-checks-to-skip): Remove now-passing and no-longer-relevant rule names.
* build: remove trailing blank lines; enable the syntax-check ruleJim Meyering2009-08-041-1/+0
| | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Remove sc_prohibit_trailing_blank_lines. * appliance/Makefile.am: Remove trailing blank line(s). * appliance/debian/modules/y0_install-guestfsd: Likewise. * appliance/make.sh.in: Likewise. * appliance/packagelist.in: Likewise. * appliance/update.sh.in: Likewise. * haskell/run-bindtests: Likewise. * ocaml/run-bindtests: Likewise. * python/run-python-tests: Likewise. * recipes/squashfs.example: Likewise. * ruby/run-ruby-tests: Likewise.
* build: exempt symlinks from trailing-blank-line prohibitionJim Meyering2009-08-041-2/+3
| | | | * cfg.mk (sc_prohibit_trailing_blank_lines): Exempt symlinks.
* build: enable syntax-check: TAB-only indentation in MakefilesJim Meyering2009-08-041-1/+0
| | | | * cfg.mk (disable_temporarily): Remove sc_makefile_TAB_only_indentation.
* build: remove trailing blanks, enable syntax-checkJim Meyering2009-08-041-2/+1
| | | | | | | * regressions/test-cancellation-download-librarycancels.sh: * src/generator.ml: * cfg.mk (disable_temporarily): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file.
* Document and enforce the new spaces-only indentation policy.Jim Meyering2009-08-031-3/+2
| | | | | | | * cfg.mk (disable_temporarily): Remove sc_TAB_in_indentation, to enable the "make syntax-check" that enforces this. * .x-sc_TAB_in_indentation: New file. Exceptions. * HACKING: Document the policy, with tips on how to conform.
* build: reenable "syntax-check" rule: sc_const_long_optionJim Meyering2009-08-031-1/+0
| | | | | | | * cfg.mk (disable_temporarily): Remove sc_const_long_option. * daemon/guestfsd.c (main): Declare long_options to be "const". * fish/fish.c (main): Likewise. * test-tool/test-tool.c (main): Likewise.
* build: temporarily disable failing "syntax-check" rulesJim Meyering2009-08-031-0/+14
| | | | * cfg.mk (disable_temporarily): Define.
* maint: use a git submodule for gnulibJim Meyering2009-08-031-0/+153
* .gitmodules: New file, to track gnulib. * .gnulib: Submodule directory. * Makefile.am (EXTRA_DIST): Don't list config.rpath or gitlog-to-changelog. * autogen.sh: Adapt to use the new submodule. * cfg.mk: New file. (SUBDIRS): Add gnulib/lib and gnulib/tests. (dist-hook): Reflect new location of getlog-to-changelog. * configure.ac: Set build-aux/ as AUX_DIR. Invoke gl_EARLY and gl_INIT. (AC_CONFIG_FILES): Add gnulib/lib/Makefile and gnulib/tests/Makefile.