[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cfengine requires LaTeX to build - patches
From: |
Ryan McBride |
Subject: |
cfengine requires LaTeX to build - patches |
Date: |
Mon, 30 Jul 2001 15:50:11 -0400 |
User-agent: |
Mutt/1.2.5i |
I'm updating the cfengine port in OpenBSD, and I noticed that cfengine
requires LaTeX to build the documentation. Enclosed are patches to
configure.in and doc/Makefile.am adding a --disable-psdocs option
which removes this dependency.
Comments are appreciated.
-Ryan
--
Ryan T. McBride, CISSP - address@hidden
Countersiege Systems Corporation - http://www.countersiege.com
--- configure.in.orig Sun Jul 29 19:47:30 2001
+++ configure.in Sun Jul 29 20:02:25 2001
@@ -148,11 +148,22 @@
dnl Newer BSD systems don't have a compatible rtentry - use ortentry
dnl #######################################################################
+
rtry=none
AC_MSG_CHECKING(for either struct rtentry or struct ortentry)
AC_EGREP_HEADER(rtentry, net/route.h, AC_DEFINE(HAVE_RTENTRY) rtry=rtentry)
AC_EGREP_HEADER(ortentry, net/route.h, AC_DEFINE(HAVE_ORTENTRY) rtry=ortentry)
AC_MSG_RESULT($rtry)
+
+dnl #######################################################################
+dnl Disable tex-dependent creation of .ps documents
+dnl #######################################################################
+
+AC_ARG_ENABLE(psdocs,
+[ --disable-psdocs disable creation of postscript documentation],,
+ psdocs=true)
+
+AM_CONDITIONAL(PSDOCS, test x$psdocs = xtrue)
dnl #######################################################################
dnl Handle DCE + threading stuff
--- doc/Makefile.am.orig Sun Jul 29 21:50:32 2001
+++ doc/Makefile.am Sun Jul 29 21:48:48 2001
@@ -15,7 +15,12 @@
psfiles = $(ps1) # $(ps2)
psdir = $(pkgdatadir)/doc
+
+if PSDOCS
ps_DATA = $(psfiles)
+else
+ps_DATA =
+endif
# Make sure these get distributed with everything else.
EXTRA_DIST = \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cfengine requires LaTeX to build - patches,
Ryan McBride <=