Updated upstream
This commit is contained in:
parent
f1e255e9a8
commit
24d899f270
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2012-2014 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2012-2015 Pierre Pronchery <khorben@defora.org>
|
||||||
#
|
#
|
||||||
#Redistribution and use in source and binary forms, with or without
|
#Redistribution and use in source and binary forms, with or without
|
||||||
#modification, are permitted provided that the following conditions are met:
|
#modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -141,7 +141,16 @@ while [ $# -gt 0 ]; do
|
||||||
$DEBUG $MKDIR -- "$output" || exit 2
|
$DEBUG $MKDIR -- "$output" || exit 2
|
||||||
(cd "$output" &&
|
(cd "$output" &&
|
||||||
$DEBUG $GTKDOC_MKHTML "$MODULE" \
|
$DEBUG $GTKDOC_MKHTML "$MODULE" \
|
||||||
"${OBJDIR}$driver") || exit 2
|
"${OBJDIR}$driver")
|
||||||
|
#detect when gtk-doc is not available
|
||||||
|
res=$?
|
||||||
|
if [ $res -eq 127 ]; then
|
||||||
|
_error "$GTKDOC_MKHTML: Not available" \
|
||||||
|
"(not generating documentation)"
|
||||||
|
continue
|
||||||
|
elif [ $res -ne 0 ]; then
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
output="${OBJDIR}gtkdoc"
|
output="${OBJDIR}gtkdoc"
|
||||||
(cd "$output" &&
|
(cd "$output" &&
|
||||||
$DEBUG $GTKDOC_FIXXREF \
|
$DEBUG $GTKDOC_FIXXREF \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user