Prevent install error message when doing cmp on empty tree.
authorBruce Momjian
Thu, 7 Oct 2004 16:23:28 +0000 (16:23 +0000)
committerBruce Momjian
Thu, 7 Oct 2004 16:23:28 +0000 (16:23 +0000)
src/include/Makefile

index 8846d1b4086ab44b15b74f19b297794e277ab3a8..642ff0ec333567207041e4c0a5e3db31676e03ea 100644 (file)
@@ -4,7 +4,7 @@
 #
 # 'make install' installs whole contents of src/include.
 #
-# $PostgreSQL: pgsql/src/include/Makefile,v 1.13 2004/10/06 08:50:00 momjian Exp $
+# $PostgreSQL: pgsql/src/include/Makefile,v 1.14 2004/10/07 16:23:28 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -60,7 +60,7 @@ remove-old-headers:
    for file in fmgr.h postgres.h access/attnum.h commands/trigger.h \
        executor/spi.h utils/elog.h utils/geo_decls.h utils/mcxt.h \
        utils/palloc.h; do \
-       if cmp -s $(srcdir)/$$file $(DESTDIR)$(includedir)/$$file; \
+       if cmp -s $(srcdir)/$$file $(DESTDIR)$(includedir)/$$file 2>/dev/null; \
        then \
            : ; \
        else \