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 --- sxpm/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sxpm') diff --git a/sxpm/Makefile.am b/sxpm/Makefile.am index 0b9771a..7780bd8 100644 --- a/sxpm/Makefile.am +++ b/sxpm/Makefile.am @@ -45,8 +45,8 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man if USE_GETTEXT noinst_DATA = sxpm.po -sxpm.po: $(sxpm_SOURCES) - xgettext -c"L10N_Comments" -d sxpm -n $(sxpm_SOURCES) +sxpm.po: $(sxpm_SOURCES:%=$(srcdir)/%) + xgettext -c"L10N_Comments" -d sxpm -n $(sxpm_SOURCES:%=$(srcdir)/%) CLEANFILES += sxpm.po endif -- cgit v1.2.3