summaryrefslogtreecommitdiff
path: root/sxpm
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 /sxpm
parent6e003fd5f174a8e312d799d7f8812c2a5b87e433 (diff)
downloadxorg-lib-libXpm-47c974872b51b8c1d6965eff4599f8ce739bcedc.tar.gz
Use srcdir in paths passed to xgettext when making .po files
Diffstat (limited to 'sxpm')
-rw-r--r--sxpm/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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