Index: trunk/psLib/src/sys/Makefile.am
===================================================================
--- trunk/psLib/src/sys/Makefile.am	(revision 4540)
+++ trunk/psLib/src/sys/Makefile.am	(revision 4549)
@@ -17,11 +17,11 @@
 BUILT_SOURCES = psErrorCodes.c
 
-psErrorCodes.c: ../psErrorCodes_$(LANG).dat psErrorCodes.c.in psErrorCodes.h
-	$(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(LANG).dat $@
+psErrorCodes.c: ../psErrorCodes_$(PS_LANG).dat psErrorCodes.c.in psErrorCodes.h
+	$(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(PS_LANG).dat $@
 
 psError.h: psErrorCodes.h
 
-psErrorCodes.h: ../psErrorCodes_$(LANG).dat psErrorCodes.h.in
-	$(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(LANG).dat $@
+psErrorCodes.h: ../psErrorCodes_$(PS_LANG).dat psErrorCodes.h.in
+	$(top_srcdir)/psParseErrorCodes --data=../psErrorCodes_$(PS_LANG).dat $@
 
 pslibincludedir = $(includedir)
