summaryrefslogtreecommitdiff
path: root/NetBSD.cf
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-09-12 20:46:02 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-09-12 20:46:02 +0000
commitb4699f13ed18f489f1752e8e3c9767397ecfa53d (patch)
treeadbe16f27b7c91ffd8b95ebeb08be3dc254feb95 /NetBSD.cf
parent0868e628dc595b7d4a841e91b44494f4c24090c5 (diff)
Remove unsafe /tmp file creation for the formatted manual page target. Just
make the file in the current build directory instead of temp directory. (Jeremy C Reed).
Diffstat (limited to 'NetBSD.cf')
-rw-r--r--NetBSD.cf4
1 files changed, 1 insertions, 3 deletions
diff --git a/NetBSD.cf b/NetBSD.cf
index 7e80dac..adf5b5b 100644
--- a/NetBSD.cf
+++ b/NetBSD.cf
@@ -468,9 +468,7 @@ all:: file.0 @@\
file.0:: file.$(MANNEWSUFFIX) @@\
@if [ -f file.$(MANNEWSUFFIX) ]; \ @@\
then \ @@\
- cat file.$(MANNEWSUFFIX) | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) >/tmp/$$$$.man; \ @@\
- cp /tmp/$$$$.man file.0; \ @@\
- $(RM) /tmp/$$$$.man; \ @@\
+ cat file.$(MANNEWSUFFIX) | $(NEQN) | $(TBL) | $(NROFF) $(MANMACROS) | $(COL) > file.0; \ @@\
fi @@\
@@\
install.man:: @@\