diff options
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile.in.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 71e8aa35a..75176d777 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -241,9 +241,12 @@ POTFILES: POTFILES.in else \ posrcprefix="../"; \ fi; \ - sed -e '/^#/d' -e '/^[ ]*$$/d' \ + rm -f POTFILES-t POTFILES \ + && sed -e '/^#/d' -e '/^[ ]*$$/d' \ -e "s@.*@ $$posrcprefix& \\\\@" \ - -e '$$s/\(.*\) \\/\1/' < $(srcdir)/POTFILES.in > POTFILES ) + -e '$$s/\(.*\) \\/\1/' < $(srcdir)/POTFILES.in > POTFILES-t \ + && chmod a-w POTFILES-t \ + && mv POTFILES-t POTFILES ) Makefile: Makefile.in.in ../config.status POTFILES cd .. \ |