OSDN Git Service

Add overflow checks to int4 and int8 versions of generate_series().
[pg-rex/syncrep.git] / Makefile
index ba03d24..72e9c83 100644 (file)
--- a/Makefile
+++ b/Makefile
 # GNUmakefile won't exist yet, so we catch that case as well.
 
 
-all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean:
-       @if ! [ -f GNUmakefile ] ; then \
-          echo "You need to run the \`configure' program first. See the file"; \
-          echo "\`INSTALL' for installation instructions." ; \
+all check install installdirs installcheck installcheck-parallel uninstall clean distclean maintainer-clean dist distcheck world check-world install-world installcheck-world:
+       @if [ ! -f GNUmakefile ] ; then \
+          echo "You need to run the 'configure' program first. See the file"; \
+          echo "'INSTALL' for installation instructions." ; \
           false ; \
         fi
        @IFS=':' ; \
         for dir in $$PATH; do \
           for prog in gmake gnumake make; do \
-            if [ -f $$dir/$$prog ] && ( $$dir/$$prog --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
+            if [ -f $$dir/$$prog ] && ( $$dir/$$prog -f /dev/null --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
               GMAKE=$$dir/$$prog; \
               break 2; \
             fi; \