In the source code, plus the docbook source, use the ant
task 'replace' to replace @doors.version@ with the current
version read from build.properties.
This would imply a 'prepare' target which makes a copy of the
source tree applying such filtering.