summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-04-26 16:12:43 -0700
committerEric Wong <normalperson@yhbt.net>2010-04-26 16:12:43 -0700
commitb8ca75667c5710ea43911d8eee994730a00d8eaa (patch)
treeeb0e54bad55bb166721e0fb51993306eb07987bf
parent8ae35a788bdfe24ad6bf58f19cad101acb1bd9f2 (diff)
'tmp' may be a directory when using rake-compiler (or isolate),
so avoid naming a file 'tmp'
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5c5b030..735f5ee 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -187,7 +187,7 @@ doc: .document $(ext)/unicorn_http.c NEWS ChangeLog
         install -m644 $(man1_paths) doc/
         cd doc && for i in $(base_bins); do \
           sed -e '/"documentation">/r man1/'$$i'.1.html' \
-                < $${i}_1.html > tmp && mv tmp $${i}_1.html; done
+                < $${i}_1.html > tmp.html && mv tmp.html $${i}_1.html; done
         $(RUBY) -i -p -e \
           '$$_.gsub!("</title>",%q{\&$(call atom,$(cgit_atom))})' \
           doc/ChangeLog.html