summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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