[LyX features/feature/docbook] Fix configure, revert part of d97b9ebd

Scott Kostyshak skostysh at lyx.org
Fri Sep 11 03:47:16 UTC 2020


The branch, feature/docbook, has been updated.

- Log -----------------------------------------------------------------

commit 4ac929f3df456a0617aae41f3aaed803dd97cf32
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Thu Sep 10 23:47:19 2020 -0400

    Fix configure, revert part of d97b9ebd
    
    Without this reversion, I get lots of warnings of the form
    "Failed to find valid...".

diff --git a/lib/configure.py b/lib/configure.py
index 95e9540..d4bec6a 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1435,7 +1435,7 @@ def checkLatexConfig(check_config):
     # Construct the list of classes to test for.
     # build the list of available layout files and convert it to commands
     # for chkconfig.ltx
-    declare = re.compile('\\s*#\\s*\\\\DeclareDocBookClass\\s*(\[([^,]*)(,.*)*\])*\\s*{(.*)}\\s*$')
+    declare = re.compile('\\s*#\\s*\\\\Declare(LaTeX|DocBook)Class\\s*(\[([^,]*)(,.*)*\])*\\s*{(.*)}\\s*$')
     category = re.compile('\\s*#\\s*\\\\DeclareCategory{(.*)}\\s*$')
     empty = re.compile('\\s*$')
     testclasses = list()

-----------------------------------------------------------------------

Summary of changes:
 lib/configure.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Repository for new features


More information about the lyx-cvs mailing list