If the user is compiling their application with OpenMP but mlpack was not
compiled with OpenMP (or vice versa) we issue a warning. This situation can
cause disaster with recent versions of Armadillo.
Allow executable being documented by exec2man.sh to be specified with
a relative path.
Output cogent usage instructions when invoked incorrectly.
Use politically correct $(...) as `...` has been deprecated by
glorious POSIX.
Allow allexec2man.sh to use relative paths to exec2man.sh
Pass appropriate options to txt2man to get a proper .TH line.
These are -s 1 for the section,
we skip -d xxx for the date, which will default to the
debian/changelog timestamp during a debian package build, or otherwise
to the current date.
Then -r origin-aka-project-name-and-version -v volume-aka-section-name.
Gbp-Pq: Name 0003-txt2man-options.patch
Previously CMake block termination commands were required to have arguments
matching the command starting the block. This is no longer necessary and not
the preferred style. This type of change has been implemented in other open
source projects such as: ITK, vxl, and BRAINSTools. It is the preferred style
for KDE. Consistent style practices help improve readability and
maintainability of code.
This was implemented with the shell script:
NOTE: MUST USE GNU compliant version of sed
in else endif endforeach endfunction endmacro endwhile; do
echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
| xargs -0 gsed -i -f convert.sed \
&& rm convert.sed
This is a reimplementation of ITK commit
e52dbe7fa476f6283c9b9d1507fca052355113a4
Fixes#585
CMake commands are sometimes given in upper and lower case.
Previously uppercase commands had been required but now commands are
case-insensitive and lowercase commands are preferred. Conversion to lowercase
commands have been implemented in other open source projects such as ITK vxl
and BRAINSTools, and is the preferred style for KDE. Consistent style
practices help to improve readability and maintainability of code.
This was implemented with the shell script:
NOTE: MUST USE GNU compliant version of sed
cmake --help-command-list \
| grep -v "cmake version" \
| while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' \
| xargs -0 gsed -i -f convert.sed \
&& rm convert.sed
This is a reimplementation of ITK commit
896f6b9220255bed1b3a1409af5257146b54e261
STYLE: Convert CMake-language commands lower case
Fixes#538