chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: do not generate tmpl files
[elogind.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index 869632abb09886ffda98827e0ca89a94c66e9827..d27b5c676420bf43cd6abc621c8847527ba9a79e 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-21,17
+21,15
@@
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
echo "Activated pre-commit hook."
fi
echo "Activated pre-commit hook."
fi
-GTKDOCIZE=
`which gtkdocize`
+GTKDOCIZE=
$(which gtkdocize 2>/dev/null)
if test -z $GTKDOCIZE; then
if test -z $GTKDOCIZE; then
- echo "You don't have gtk-doc installed, and thus"
- echo "won't be able to generate the documentation."
- NOGTKDOC=1
+ echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
echo 'EXTRA_DIST =' > gtk-doc.make
echo 'EXTRA_DIST =' > gtk-doc.make
+else
+ gtkdocize
+ gtkdocargs=--enable-gtk-doc
fi
fi
-if test -z "$NOGTKDOC"; then
- gtkdocize || exit $?
-fi
intltoolize --force --automake
autoreconf --force --install --symlink
intltoolize --force --automake
autoreconf --force --install --symlink
@@
-44,7
+42,7
@@
args="\
--localstatedir=/var \
--libdir=$(libdir /usr/lib) \
--libexecdir=/usr/lib \
--localstatedir=/var \
--libdir=$(libdir /usr/lib) \
--libexecdir=/usr/lib \
-
--enable-gtk-doc
"
+
$gtkdocargs
"
if [ ! -L /bin ]; then
args="$args \
if [ ! -L /bin ]; then
args="$args \