projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb09b15
)
use 'mv' to make targets atomic
author
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 7 Dec 2011 05:19:44 +0000
(06:19 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 7 Dec 2011 05:19:44 +0000
(06:19 +0100)
To avoid empty man page bug.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 7e2db08cddf7c7a6e899c3ba9979316d87f5cfea..3ff3c55efb86eb9b9b4fa8b68e20e16d68d4ba96 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-25,10
+25,12
@@
dinstall: deb
%.1.gz: %.1.pod
rm -f $@
- cat $<|pod2man -n $* -s 1 -r ${VERSION} -c "Proxmox Documentation"|gzip -c9 >$@
+ cat $<|pod2man -n $* -s 1 -r ${VERSION} -c "Proxmox Documentation"|gzip -c9 >$@.tmp
+ mv $@.tmp $@
pveum.1.pod: pveum
- perl -I. ./pveum printmanpod >$@
+ perl -I. ./pveum printmanpod >$@.tmp
+ mv $@.tmp $@
.PHONY: install
install: pveum.1.pod pveum.1.gz