]> granicus.if.org Git - postgresql/blobdiff - Makefile
Add a note to the docs describing NaN's equality and ordering behavior.
[postgresql] / Makefile
index 3091774d74640bdfcd1fa9695254e1c677cd1e49..942ef17bf35deb802e98676bbc75d6fd4a397b08 100644 (file)
--- a/Makefile
+++ b/Makefile
 # GNUmakefile won't exist yet, so we catch that case as well.
 
 
-all install clean dep depend distclean maintainer-clean:
-       @if ! [ -f GNUmakefile ] ; then \
-          echo "You need to run the \`configure' program fist. See the file"; \
-          echo "\`INSTALL' for installation instructions." ; \
+all check install installdirs installcheck installcheck-parallel 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." ; \
           false ; \
         fi
        @IFS=':' ; \
         for dir in $$PATH; do \
           for prog in gmake gnumake make; do \
-            if [ -f $$dir/$$prog ] && ( $$dir/$$prog --version | 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; \
@@ -29,7 +29,7 @@ all install clean dep depend distclean maintainer-clean:
        \
         if [ x"$${GMAKE+set}" = xset ]; then \
           echo "Using GNU make found at $${GMAKE}"; \
-          $${GMAKE} ; \
+          $${GMAKE} $@ ; \
         else \
           echo "You must use GNU make to build PostgreSQL." ; \
           false; \