Include documentation from xfce4-docs
This commit is contained in:
17
autogen.sh
17
autogen.sh
@@ -10,18 +10,9 @@ EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo 'dnl *** This file is automatically generated from configure.ac.in ***' > configure.ac
|
||||
echo 'dnl *** DO NOT EDIT! ***' >> configure.ac
|
||||
echo >> configure.ac
|
||||
|
||||
linguas=$(ls po/*.po 2>/dev/null | awk 'BEGIN {FS="[./]"; ORS=" "} {print $2}')
|
||||
if [ -d .git ]; then
|
||||
revision=$(git log --pretty=format:%h -n 1)
|
||||
else
|
||||
revision=UNKNOWN
|
||||
fi
|
||||
sed -e "s/@LINGUAS@/${linguas}/g" \
|
||||
-e "s/@REVISION@/${revision}/g" \
|
||||
< configure.ac.in >> configure.ac
|
||||
test -z "$XDT_AUTOGEN_REQUIRED_VERSION" && \
|
||||
echo "You need to update your version of xfce4-dev-tools" && exit 2
|
||||
|
||||
XDT_AUTOGEN_REQUIRED_VERSION="4.7.3" \
|
||||
XDT_AUTOGEN_CHECK_DOCS="doc" \
|
||||
exec xdt-autogen $@
|
||||
|
||||
Reference in New Issue
Block a user