[PATCH 1/3] fake gtk-doc files if not installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If gtk-doc is not installed, then automake will fail with the error:
	automake: cannot open < gtk-doc.make: No such file or directory

So if gtk-doc is not found, create a dummy file to satisfy the simple
automake requirement.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 autogen.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 8edee0b..d85da3e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -86,6 +86,9 @@ echo "   automake:   $(automake --version | head -1)"
 
 if test "$HAS_GTKDOC" -eq 1; then
 	echo "   gtkdocize:  $(gtkdocize --version | head -1)"
+else
+	# provide enough to keep automake from failing
+	touch gtk-doc.make
 fi
 
 set -e
-- 
1.6.5.rc2

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux