]> granicus.if.org Git - mutt/commitdiff
Fix po build when builddir != srcdir (modified: made simpler).
authorRocco Rutte <pdmef@gmx.net>
Sat, 5 Aug 2006 00:03:22 +0000 (00:03 +0000)
committerRocco Rutte <pdmef@gmx.net>
Sat, 5 Aug 2006 00:03:22 +0000 (00:03 +0000)
po/Makefile.in.in

index b31ff82858d5c87a429065c3745dd6199e669123..cf6379f3e3deb78b43107e9ca7af0feaecee942d 100644 (file)
@@ -68,7 +68,7 @@ CATALOGS = @CATALOGS@
        $(MSGFMT) -o $@ $<
 
 .po.gmo:
-       file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
+       file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) --statistics -o $$file $<
 
 
@@ -86,7 +86,6 @@ $(top_srcdir)/keymap_alldefs.h:
 # have been downloaded.
 
 $(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
-       chmod u+w $(srcdir)
        rm -f $@
        $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
          --add-comments --keyword=_ --keyword=N_ \