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