1
0
mirror of https://git.savannah.gnu.org/git/coreutils.git synced 2026-10-28 15:15:08 +03:00

(POTFILES): Redirect to an intermediate file and write-protect POTFILES.

This commit is contained in:
Jim Meyering
1997-02-02 15:43:54 +00:00
parent badb35bdb7
commit d262a3cc82

View File

@@ -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 .. \