Use $(TAR) instead of tar in makefiles.
authorPeter Eisentraut
Fri, 26 Jun 2009 06:37:14 +0000 (06:37 +0000)
committerPeter Eisentraut
Fri, 26 Jun 2009 06:37:14 +0000 (06:37 +0000)
doc/Makefile

index 09f1f96a8b533c37d2974c3abf441437f2e13291..0dca8f21b11618d5f9d6aa2e697ce52f6b972abf 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/doc/Makefile,v 1.34 2009/06/19 19:15:13 petere Exp $
+# $PostgreSQL: pgsql/doc/Makefile,v 1.35 2009/06/26 06:37:14 petere Exp $
 #
 #----------------------------------------------------------------------------
 
@@ -96,10 +96,10 @@ endif
 
 uninstall:
 ifdef found_html
-   rm -f $(addprefix $(DESTDIR)$(htmldir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | tar tf -))
+   rm -f $(addprefix $(DESTDIR)$(htmldir)/html/, $(shell gunzip -c $(srcdir)/postgres.tar.gz | $(TAR) tf -))
 endif
 ifdef found_man
-   rm -f $(filter-out %/, $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | tar tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/')))
+   rm -f $(filter-out %/, $(addprefix $(DESTDIR)$(mandir)/, $(shell gunzip -c $(srcdir)/man.tar.gz | $(TAR) tf - | sed -e 's,man7/,man$(sqlmansectnum)/,' -e 's/.7$$/.$(sqlmansect)/')))
 endif