diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-09-12 20:46:02 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-09-12 20:46:02 +0000 |
commit | b4699f13ed18f489f1752e8e3c9767397ecfa53d (patch) | |
tree | adbe16f27b7c91ffd8b95ebeb08be3dc254feb95 /NetBSD.cf | |
parent | 0868e628dc595b7d4a841e91b44494f4c24090c5 (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.cf | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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:: @@\ |