1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

no need any more to manually create catalog file in build-manpages-nogit

This commit is contained in:
Michael Adam 2010-09-13 17:27:16 +02:00
parent 60d5a83e9e
commit 56f127d736

View File

@ -20,19 +20,12 @@ autoconf || _exit "Error running autoconf."
./configure || _exit "Error running configure."
# enable offline build by creating catalog:
cat $(pwd)/build/catalog.xml.in \
| sed -e "s|@BUILDDIR@|$(pwd)|g" \
> $(pwd)/build/catalog.xml
export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
make clean || _exit "Error running make clean"
# re-establish catalog (has been removed by make clean...)
cat $(pwd)/build/catalog.xml.in \
| sed -e "s|@BUILDDIR@|$(pwd)|g" \
> $(pwd)/build/catalog.xml
./config.status
make manpages3 || _exit "Error running make manpages3"