summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3439c4a)
raw | patch | inline | side by side (parent: 3439c4a)
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:41:23 +0000 (19:41 +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 7b13029dae93a0f3d8735a8eef1e1c315ceea9c6..75f88ebd329f8cccfa1e390521a483aac6e90e0c 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; \