docs->doc and help->doc/help relocation. DO NOT UPDATE YOU WORKING COPY UNTIL MY NOTEsvn st! Huge files will be relocated.
|
@ -52,6 +52,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
|
|||
SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
SET(CMAKE_INSTALL_PREFIX /usr/local CACHE PATH "")
|
||||
# Locations for install targets.
|
||||
IF(UNIX)
|
||||
IF(APPLE)
|
||||
|
@ -62,6 +63,7 @@ IF(UNIX)
|
|||
SET(KICAD_BIN bin CACHE PATH "Location of KiCad binaries.")
|
||||
SET(KICAD_PLUGINS lib/kicad/plugins CACHE PATH "Location of KiCad plugins.")
|
||||
SET(KICAD_DOCS share/doc/kicad CACHE PATH "Location of KiCad documentation files.")
|
||||
SET(KICAD_HELP share/doc/kicad/help CACHE PATH "Location of KiCad help files.")
|
||||
SET(KICAD_DATA share/kicad CACHE PATH "Location of KiCad data files.")
|
||||
SET(KICAD_MODULES ${KICAD_DATA}/modules)
|
||||
SET(KICAD_LIBRARY ${KICAD_DATA}/library)
|
||||
|
@ -77,6 +79,7 @@ IF(WIN32)
|
|||
SET(KICAD_BIN winexe CACHE PATH "Location of KiCad binaries.")
|
||||
SET(KICAD_PLUGINS ${KICAD_BIN}/plugins)
|
||||
SET(KICAD_DOCS help)
|
||||
SET(KICAD_HELP ${KICAD_DOCS}/help)
|
||||
SET(KICAD_MODULES modules)
|
||||
SET(KICAD_LIBRARY library)
|
||||
SET(KICAD_INTERNAT internat)
|
||||
|
@ -131,7 +134,7 @@ ADD_SUBDIRECTORY(pcbnew)
|
|||
ADD_SUBDIRECTORY(polygon)
|
||||
# Resources.
|
||||
ADD_SUBDIRECTORY(internat)
|
||||
ADD_SUBDIRECTORY(help)
|
||||
ADD_SUBDIRECTORY(doc)
|
||||
ADD_SUBDIRECTORY(library)
|
||||
ADD_SUBDIRECTORY(modules)
|
||||
ADD_SUBDIRECTORY(template)
|
||||
|
|
|
@ -36,15 +36,13 @@
|
|||
// Path list for online help
|
||||
static wxString s_HelpPathList[] = {
|
||||
#ifdef __WINDOWS__
|
||||
wxT( "c:/kicad/help/" ),
|
||||
wxT( "d:/kicad/help/" ),
|
||||
wxT( "c:/Program Files/kicad/help/" ),
|
||||
wxT( "c:/kicad/doc/help/" ),
|
||||
wxT( "d:/kicad/doc/help/" ),
|
||||
wxT( "c:/Program Files/kicad/doc/help/" ),
|
||||
#else
|
||||
wxT( "/usr/share/doc/kicad/" ),
|
||||
wxT( "/usr/local/share/doc/kicad/" ),
|
||||
wxT( "/usr/local/kicad/share/doc/kicad/" ),
|
||||
wxT( "/usr/local/kicad/help/" ),
|
||||
wxT( "/usr/share/doc/kicad/help" ),
|
||||
wxT( "/usr/local/share/doc/kicad/help" ),
|
||||
wxT( "/usr/local/kicad/share/doc/kicad/help" ),
|
||||
#endif
|
||||
wxT( "end_list" ) // End of list symbol, do not change
|
||||
};
|
||||
|
@ -338,12 +336,12 @@ wxString EDA_FileSelector( const wxString& Title, /* Dialog ti
|
|||
wxString FindKicadHelpPath()
|
||||
/********************************************************/
|
||||
/** Function FindKicadHelpPath
|
||||
* Find an absolute path for kicad/help (or kicad/help/<language>)
|
||||
* Find path kicad/help/xx/ ou kicad/help/:
|
||||
* Find an absolute path for KiCad "help" (or "help/<language>")
|
||||
* Find path kicad/docs/help/xx/ or kicad/docs/help/:
|
||||
* from BinDir
|
||||
* else from environment variable KICAD
|
||||
* else from one of s_HelpPathList
|
||||
* typically c:\kicad\help or /usr/local/kicad/help or /usr/share/doc/kicad
|
||||
* typically c:\kicad\docs\help or /usr/local/kicad/docs/help or /usr/share/doc/kicad/help
|
||||
* (must have kicad in path name)
|
||||
*
|
||||
* xx = iso639-1 language id (2 letters (generic) or 4 letters):
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
INSTALL(DIRECTORY de COMPONENT doc-de
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
INSTALL(DIRECTORY en COMPONENT doc-en
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
INSTALL(DIRECTORY es COMPONENT doc-es
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
INSTALL(DIRECTORY fr COMPONENT doc-fr
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
INSTALL(DIRECTORY hu COMPONENT doc-hu
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
INSTALL(DIRECTORY ru COMPONENT doc-ru
|
||||
DESTINATION ${KICAD_DOCS} PATTERN ".svn" EXCLUDE PATTERN "*.odt" EXCLUDE)
|
||||
|
||||
ADD_SUBDIRECTORY(help)
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
INSTALL(DIRECTORY de COMPONENT help-de
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY en COMPONENT help-en
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY es COMPONENT help-es
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY fr COMPONENT help-fr
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY it COMPONENT help-it
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY pt COMPONENT help-pt
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
||||
INSTALL(DIRECTORY ru COMPONENT help-ru
|
||||
DESTINATION ${KICAD_HELP} PATTERN ".svn" EXCLUDE PATTERN "docs_src" EXCLUDE)
|
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 746 B After Width: | Height: | Size: 746 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 466 B |
Before Width: | Height: | Size: 601 B After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 970 B After Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |