mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-03 18:13:47 +00:00
use 'mv' to make targets atomic
To avoid empty man page bug.
This commit is contained in:
parent
eb09b155c8
commit
dcfaabd7ca
6
Makefile
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user