--- docs-xml/build/README.org 2013-06-13 18:21:02.000000000 +0900 +++ docs-xml/build/README 2014-11-11 13:43:50.725706010 +0900 @@ -18,7 +18,7 @@ where $(pwd)/build/catalog.xml is generated from $(pwd)/build/catalog.xml.in by a following command: -cat $(pwd)/build/catalog.xml.in | sed -e "s|@BUILDDIR@|$(pwd)|g" > $(pwd)/build/catalog.xml +cat $(pwd)/build/catalog.xml.in | sed -e "s|@abs_top_srcdir@|$(pwd)|g" > $(pwd)/build/catalog.xml where $(pwd) assumes that you're in the top-level directory of samba-docs.