Include documentation from xfce4-docs

This commit is contained in:
Mike Massonnet
2010-11-11 08:21:45 +01:00
parent 92138c1bac
commit e464df4c13
4 changed files with 9 additions and 13 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "doc"]
path = doc
url = git://git.xfce.org/xfce/xfce4-docs

View File

@@ -1,5 +1,6 @@
SUBDIRS = \
po \
doc \
src
desktopdir = $(datadir)/applications

View File

@@ -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 $@

1
doc Submodule

Submodule doc added at 204be31d03