Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] documentation improvements
replace AUTHORS, CONTRIBUTORS, DONORS, SPONSORS and TRANSLATOR with t2t version in doc, run txt2tags within the build and install documentation. Optionally build and install api documentation git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15348 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
jef
committed
Mar 6, 2011
1 parent
261ed74
commit 6a54b6e
Showing
12 changed files
with
1,747 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Macros for txt2tags | ||
# ~~~~~~~~~~~~~~~~~~~ | ||
# Copyright (c) 2011, Juergen E. Fischer <jef at norbit dot de> | ||
# Redistribution and use is allowed according to the terms of the BSD license. | ||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||
|
||
# use txt2tags for .t2t files | ||
|
||
# search for bison | ||
MACRO(FIND_TXT2TAGS) | ||
IF(NOT TXT2TAGS_EXECUTABLE) | ||
IF (MSVC) | ||
FIND_PROGRAM(TXT2TAGS_EXECUTABLE PATHS | ||
NAMES txt2tags.exe | ||
PATHS $ENV{LIB_DIR}/bin $ENV{PROGRAMFILES}/GnuWin32/bin | ||
) | ||
ELSE (MSVC) | ||
FIND_PROGRAM(TXT2TAGS_EXECUTABLE txt2tags) | ||
ENDIF (MSVC) | ||
IF (NOT TXT2TAGS_EXECUTABLE) | ||
MESSAGE(STATUS "txt2tags not found - disabled") | ||
ENDIF (NOT TXT2TAGS_EXECUTABLE) | ||
ENDIF(NOT TXT2TAGS_EXECUTABLE) | ||
ENDMACRO(FIND_TXT2TAGS) | ||
|
||
MACRO(ADD_TXT2TAGS_FILES _sources) | ||
FIND_TXT2TAGS() | ||
|
||
FOREACH (_current_FILE ${ARGN}) | ||
GET_FILENAME_COMPONENT(_in ${_current_FILE} ABSOLUTE) | ||
GET_FILENAME_COMPONENT(_basename ${_current_FILE} NAME_WE) | ||
|
||
SET(_out ${CMAKE_CURRENT_BINARY_DIR}/${_basename}) | ||
|
||
ADD_CUSTOM_COMMAND( | ||
OUTPUT ${_out} | ||
COMMAND ${TXT2TAGS_EXECUTABLE} | ||
ARGS -o${_out} -t txt ${_in} | ||
DEPENDS ${_in} | ||
COMMENT "Building ${_out} from ${_in}" | ||
) | ||
|
||
ADD_CUSTOM_COMMAND( | ||
OUTPUT ${_out}.html | ||
COMMAND ${TXT2TAGS_EXECUTABLE} | ||
ARGS -o${_out}.html -t html ${_in} | ||
DEPENDS ${_in} | ||
COMMENT "Building ${_out}.html from ${_in}" | ||
) | ||
|
||
SET(${_sources} ${${_sources}} ${_out} ${_out}.html) | ||
ENDFOREACH (_current_FILE) | ||
ENDMACRO(ADD_TXT2TAGS_FILES) |
Oops, something went wrong.