Commit e8699e97 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Atomically replace the HTML files...

...so that users will not download a partial files while make is running
parent 89d630f6
......@@ -50,8 +50,9 @@ clean: clean-recursive
rm -f $(HERE)$@.tmp ; \
exit 1 ; \
fi
@$(STRIP_HEADERS) < $@.tmp > $@
@rm -f $@.tmp
@$(STRIP_HEADERS) < $@.tmp > $@.tmp2
@mv -v $@.tmp2 $@
@rm -f $@.tmp $@.tmp2
$(ROOT)/include/mirrors.php: $(ROOT)/include/mirrors
@echo "Processing $< ..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment