summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1783d08)
raw | patch | inline | side by side (parent: 1783d08)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 28 Oct 2009 18:32:36 +0000 (19:32 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 28 Oct 2009 18:32:36 +0000 (19:32 +0100) |
A temporary file name is used when creating the manpages. So far, a static
file name had been used for that, thus causing race conditions. Now, a unique
suffix (PID) is used to fix that.
Thanks to BC^bd for reporting that on IRC!
file name had been used for that, thus causing race conditions. Now, a unique
suffix (PID) is used to fix that.
Thanks to BC^bd for reporting that on IRC!
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index c01998e8bab9610bd3b2af6c575a99b1efab01c6..bdc4dc413a0acc1f59798c54779e1d072fb21d37 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
.pod.1:
pod2man --release=$(VERSION) --center=$(PACKAGE) $< \
- >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true
+ >.pod2man.tmp.$$$$ 2>/dev/null && mv -f .pod2man.tmp.$$$$ $@ || true
@if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
then \
echo "$@ has some POD errors!"; false; \
.pod.5:
pod2man --section=5 --release=$(VERSION) --center=$(PACKAGE) $< \
- >.pod2man.tmp 2>/dev/null && mv -f .pod2man.tmp $@ || true
+ >.pod2man.tmp.$$$$ 2>/dev/null && mv -f .pod2man.tmp.$$$$ $@ || true
@if grep '\<POD ERRORS\>' $@ >/dev/null 2>&1; \
then \
echo "$@ has some POD errors!"; false; \