summaryrefslogtreecommitdiff
path: root/cxpm
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-06 14:22:48 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-06 14:22:48 -0700
commit47c974872b51b8c1d6965eff4599f8ce739bcedc (patch)
treec7b73886024534144085dd551be5b321f079f498 /cxpm
parent6e003fd5f174a8e312d799d7f8812c2a5b87e433 (diff)
downloadxorg-lib-libXpm-47c974872b51b8c1d6965eff4599f8ce739bcedc.tar.gz
Use srcdir in paths passed to xgettext when making .po files
Diffstat (limited to 'cxpm')
-rw-r--r--cxpm/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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