]> granicus.if.org Git - neomutt/commitdiff
Don't try to build $(PACKAGE).pot in srcdir as it may be read-only
authorRocco Rutte <pdmef@gmx.net>
Wed, 7 Nov 2007 11:28:33 +0000 (12:28 +0100)
committerRocco Rutte <pdmef@gmx.net>
Wed, 7 Nov 2007 11:28:33 +0000 (12:28 +0100)
po/Makefile.in.in

index 85a905b2e63c5259dd936e99a0b4d36e2c457961..196ce271d714668f6bff0e1433302ef28384fc2f 100644 (file)
@@ -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 @@ $(top_srcdir)/keymap_alldefs.h:
 # 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