Don't call rm with empty file list.
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 17 May 2008 20:24:05 +0000 (20:24 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 17 May 2008 20:24:05 +0000 (20:24 +0000)
src/nls-global.mk

index e2d44f3e41a69eed5b9f209757fe831cb9511ef5..b72ef74b6e65b9f709d9157250944ead28d37259 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/nls-global.mk,v 1.12 2006/04/05 13:40:15 petere Exp $
+# $PostgreSQL: pgsql/src/nls-global.mk,v 1.13 2008/05/17 20:24:05 petere Exp $
 
 # Common rules for Native Language Support (NLS)
 #
@@ -77,7 +77,7 @@ uninstall-po:
 
 
 clean-po:
-   rm -f $(MO_FILES)
+   $(if $(MO_FILES),rm -f $(MO_FILES))
    @rm -f $(addsuffix .old, $(PO_FILES))
    rm -f po/$(CATALOG_NAME).pot