From d63ca83093793fe91f5171ff81518d30976b97b4 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 11 Jun 2012 10:54:00 +0100 Subject: [PATCH] Fix upload-pot make target for out-of-tree build Signed-off-by: David Woodhouse --- Makefile.am | 2 ++ po/Makefile.am | 1 + 2 files changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index a07efd0..1bf56ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -98,4 +98,6 @@ update-translations: fi upload-pot: + if [ ${abs_top_builddir} != $(abs_top_srcdir) ]; then \ + ln -sf ${abs_top_srcdir}/.tx .tx; fi @make -C po openconnect.pot && tx push -s diff --git a/po/Makefile.am b/po/Makefile.am index 73f218c..b12f9c9 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -44,3 +44,4 @@ $(PACKAGE).pot: $(POTFILES) Makefile --msgid-bugs-address=openconnect-devel@lists.infradead.org -o $@ EXTRA_DIST = $(POFILES) LINGUAS POTFILES.in +DISTCLEANFILES=$(PACKAGE).pot -- 2.7.4