X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=Makefile;h=0596ba6a5739187669fdd42eb1f1d9b452bc775a;hb=df8bc51660941d7464dcd31170690519cb95c0c2;hp=d2878d6493474352b902e62dc1d73171973f440d;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/Makefile b/Makefile index d2878d649..0596ba6a5 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,11 @@ info html dvi pdf: check: sc_prefer_ac_check_funcs_once sc_prefer_ac_check_funcs_once: - git grep -w -l AC_CHECK_FUNCS modules && \ - { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/ 1>&2; \ - exit 1; } || : + if test -d .git; then \ + git grep -w -l AC_CHECK_FUNCS modules \ + && { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS \ + in modules/ 1>&2; exit 1; } || : \ + else :; fi # Regenerate some files that are stored in the repository. regen: MODULES.html