]> git.lyx.org Git - features.git/commitdiff
Fix some non-accessible URLS
authorKornel Benko <kornel@lyx.org>
Sat, 30 Mar 2019 23:15:52 +0000 (00:15 +0100)
committerKornel Benko <kornel@lyx.org>
Sat, 30 Mar 2019 23:15:52 +0000 (00:15 +0100)
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
lib/doc/de/UserGuide.lyx
lib/doc/es/Additional.lyx
lib/doc/fr/Additional.lyx
lib/doc/ja/Additional.lyx
lib/templates/Articles/REVTeX_%28V._4.1%29.lyx

index debedc67b2655d9d9f0c654012cdb7c66935a995..3125c86550f3247608adbe0f4d13c0e849aed433 100644 (file)
@@ -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
index 8e1c66e61c31eabcc251f9ff05bbb7ea07456001..016d9ba35e24480e54bace07ba204e0807d51bfd 100644 (file)
@@ -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
index 9f173d9d8b4add155735318c63e1850266d4b9fc..fe032f6ff637801c23c56ab4c4de3c073da8058d 100644 (file)
@@ -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
index 6ee6828138f12d14106d1bab3db7901b82552aaa..5dc4feba01208f1b8f649ad7190015732687aade 100644 (file)
@@ -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
index 4fd2d531c3b50973daa881ebbf5daf18f580f102..15ca27770e62f4a50487e62d213f643a2bd88595 100644 (file)
@@ -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
index 29982670b29a978bbe878c16f277dbbb883211f6..8ffe7dbc32e55272954d4e7a342e5070d0a7d8cb 100644 (file)
@@ -372,7 +372,7 @@ status open
 
 \begin_layout Plain Layout
 
-http://www.aip.org/pacs
+https://www.aip.org/pacs
 \end_layout
 
 \end_inset