commit 0b2958190594444375dcf6a312c35eaf003b3914
Author: Kornel Benko <[email protected]>
Date:   Sun Mar 31 00:15:52 2019 +0100

    Fix some non-accessible URLS
    
    Also don't check attic, devel or obsolete files
    Not found good replacements for
            http://texcatalogue.ctan.org/bytopic.html
            http://www.tiresias.org/research/reports/braille_cell.htm
---
 development/checkurls/CMakeLists.txt           |   11 ++++++++++-
 lib/doc/de/UserGuide.lyx                       |    2 +-
 lib/doc/es/Additional.lyx                      |    2 +-
 lib/doc/fr/Additional.lyx                      |    2 +-
 lib/doc/ja/Additional.lyx                      |    2 +-
 lib/templates/Articles/REVTeX_%28V._4.1%29.lyx |    2 +-
 6 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/development/checkurls/CMakeLists.txt 
b/development/checkurls/CMakeLists.txt
index debedc6..3125c86 100644
--- a/development/checkurls/CMakeLists.txt
+++ b/development/checkurls/CMakeLists.txt
@@ -13,8 +13,17 @@ set(LYXFILES_FILE "${CMAKE_CURRENT_BINARY_DIR}/filesToScan")
 file(WRITE "${LYXFILES_FILE}")
 file(GLOB_RECURSE lyx_files RELATIVE "${TOP_SEARCH_PATH}" 
"${TOP_SEARCH_PATH}/*.lyx")
 
+set(NO_SEARCH_PATHS "/attic/" "src/tex2lyx/test" "/autotests/" "development/" 
"/Obsolete/")
 foreach(_f ${lyx_files})
-  file(APPEND "${LYXFILES_FILE}" "${_f}\n")
+  set(found OFF)
+  foreach(_p ${NO_SEARCH_PATHS})
+    if (_f MATCHES "${_p}")
+      set(found ON)
+    endif()
+  endforeach()
+  if (NOT found)
+    file(APPEND "${LYXFILES_FILE}" "${_f}\n")
+  endif()
 endforeach()
 
 # Define the perl-script running the actual test
diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx
index 8e1c66e..016d9ba 100644
--- a/lib/doc/de/UserGuide.lyx
+++ b/lib/doc/de/UserGuide.lyx
@@ -17265,7 +17265,7 @@ vgl.
 \begin_inset CommandInset href
 LatexCommand href
 name "amtliche Regeln"
-target "http://www.rechtschreibrat.com/DOX/rfdr_Regeln_2017.pdf";
+target 
"http://www.rechtschreibrat.com/DOX/rfdr_Regeln_2016_veroeffentlicht_2017.pdf";
 literal "false"
 
 \end_inset
diff --git a/lib/doc/es/Additional.lyx b/lib/doc/es/Additional.lyx
index 9f173d9..fe032f6 100644
--- a/lib/doc/es/Additional.lyx
+++ b/lib/doc/es/Additional.lyx
@@ -24545,7 +24545,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
+http://www.literateprogramming.com/lpfaq.pdf
 \end_layout
 
 \end_inset
diff --git a/lib/doc/fr/Additional.lyx b/lib/doc/fr/Additional.lyx
index 6ee6828..5dc4feb 100644
--- a/lib/doc/fr/Additional.lyx
+++ b/lib/doc/fr/Additional.lyx
@@ -24906,7 +24906,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
+http://www.literateprogramming.com/lpfaq.pdf
 \end_layout
 
 \end_inset
diff --git a/lib/doc/ja/Additional.lyx b/lib/doc/ja/Additional.lyx
index 4fd2d53..15ca277 100644
--- a/lib/doc/ja/Additional.lyx
+++ b/lib/doc/ja/Additional.lyx
@@ -21270,7 +21270,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
+http://www.literateprogramming.com/lpfaq.pdf
 \end_layout
 
 \end_inset
diff --git a/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx 
b/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx
index 2998267..8ffe7db 100644
--- a/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx
+++ b/lib/templates/Articles/REVTeX_%28V._4.1%29.lyx
@@ -372,7 +372,7 @@ status open
 
 \begin_layout Plain Layout
 
-http://www.aip.org/pacs
+https://www.aip.org/pacs
 \end_layout
 
 \end_inset

Reply via email to