[5/7] gprof: build with mktemp
Commit Message
---
gprof/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
@@ -71,8 +71,9 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/development.sh
POTFILES = $(sources) $(noinst_HEADERS)
po/POTFILES.in: @MAINT@ Makefile
- for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
- && mv tmp $(srcdir)/po/POTFILES.in
+ tmp=`mktemp --tmpdir=. POTFILES.XXXXXX.in`; \
+ for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > $$tmp \
+ && mv $$tmp $(srcdir)/po/POTFILES.in
MANCONF = -Dman