Another fix for compiles on an empty 'po' directory.
authorBruce Momjian <bruce@momjian.us>
Sat, 17 May 2008 21:27:12 +0000 (21:27 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 17 May 2008 21:27:12 +0000 (21:27 +0000)
src/nls-global.mk

index b72ef74b6e65b9f709d9157250944ead28d37259..c6fed12936b601fd01dc42d4dec54d729227cb6e 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/nls-global.mk,v 1.13 2008/05/17 20:24:05 petere Exp $
+# $PostgreSQL: pgsql/src/nls-global.mk,v 1.14 2008/05/17 21:27:12 momjian Exp $
 
 # Common rules for Native Language Support (NLS)
 #
@@ -78,7 +78,7 @@ uninstall-po:
 
 clean-po:
    $(if $(MO_FILES),rm -f $(MO_FILES))
-   @rm -f $(addsuffix .old, $(PO_FILES))
+   @$(if $(PO_FILES),rm -f $(addsuffix .old, $(PO_FILES)))
    rm -f po/$(CATALOG_NAME).pot