From 47c974872b51b8c1d6965eff4599f8ce739bcedc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 6 Aug 2007 14:22:48 -0700 Subject: Use srcdir in paths passed to xgettext when making .po files --- cxpm/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cxpm') diff --git a/cxpm/Makefile.am b/cxpm/Makefile.am index 158facb..097a640 100644 --- a/cxpm/Makefile.am +++ b/cxpm/Makefile.am @@ -41,8 +41,8 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man if USE_GETTEXT noinst_DATA = cxpm.po -cxpm.po: $(cxpm_SOURCES) - xgettext -c"L10N_Comments" -d cxpm -n $(cxpm_SOURCES) +cxpm.po: $(cxpm_SOURCES:%=$(srcdir)/%) + xgettext -c"L10N_Comments" -d cxpm -n $(cxpm_SOURCES:%=$(srcdir)/%) CLEANFILES += cxpm.po endif -- cgit v1.2.3