[PATCH 1 of 2] Don't try to build $(PACKAGE).pot in srcdir as it may be read-only
# HG changeset patch
# User Rocco Rutte <pdmef@xxxxxxx>
# Date 1194434913 -3600
# Branch HEAD
# Node ID fed536a2ce2228a08cfae000066bf293be0ae808
# Parent ac14b76ef8b2e34b29cd70e4fd6c6be7abaf0970
Don't try to build $(PACKAGE).pot in srcdir as it may be read-only
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -63,7 +63,7 @@ CATALOGS = @CATALOGS@
.po.pox:
$(MAKE) $(PACKAGE).pot
- $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
+ $(MSGMERGE) $< $(PACKAGE).pot -o $*.pox
.po.mo:
$(MSGFMT) -o $@ $<
@@ -86,14 +86,14 @@ all-no:
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.
-$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
+$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
rm -f $@
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
--files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(PACKAGE).po \
- || ( rm -f $(srcdir)/$(PACKAGE).pot \
- && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
+ || ( rm -f $(PACKAGE).pot \
+ && mv $(PACKAGE).po $(PACKAGE).pot )
install: install-exec install-data