Include documentation from xfce4-docs
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "doc"]
|
||||
path = doc
|
||||
url = git://git.xfce.org/xfce/xfce4-docs
|
||||
@@ -1,5 +1,6 @@
|
||||
SUBDIRS = \
|
||||
po \
|
||||
doc \
|
||||
src
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
|
||||
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 $@
|
||||
|
||||
1
doc
Submodule
1
doc
Submodule
Submodule doc added at 204be31d03
Reference in New Issue
Block a user