Sun, 07 Jan 2024 11:01:33 +0100
use that recent uwproj trims indents in project.xml
make/project.xml | file | annotate | diff | comparison | revisions |
--- a/make/project.xml Fri Jan 05 20:35:13 2024 +0100 +++ b/make/project.xml Sun Jan 07 11:01:33 2024 +0100 @@ -1,113 +1,112 @@ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://unixwork.de/uwproj"> - <config> - <var name="src_dir" exec="true">pwd</var> - <var name="DOXYGEN" exec="true">command -v doxygen</var> - <var name="PANDOC" exec="true">command -v pandoc</var> - </config> + <config> + <var name="src_dir" exec="true">pwd</var> + <var name="DOXYGEN" exec="true">command -v doxygen</var> + <var name="PANDOC" exec="true">command -v pandoc</var> + </config> - <dependency> - <make> -# library version -VERSION=3.1.0 -LIBVERSION=4.1.0 -LIBVERSION_MAJOR=4 + <dependency> + <make> + # library version + VERSION=3.1.0 + LIBVERSION=4.1.0 + LIBVERSION_MAJOR=4 -# build directory structure !! do not change or override !! -build_dir=${src_dir}/build -docs_dir=${src_dir}/build/docs -dist_dir=${src_dir}/dist - </make> - </dependency> + # build directory structure !! do not change or override !! + build_dir=${src_dir}/build + docs_dir=${src_dir}/build/docs + dist_dir=${src_dir}/dist + </make> + </dependency> - <dependency name="file-tools"> - <make> -MKDIR=/bin/mkdir -p -RMFILE=/bin/rm -f -RMDIR=/bin/rm -f -R -COPYFILE=/bin/cp -f -COPYALL=/bin/cp -f -R -SYMLINK=/bin/ln -s - </make> - </dependency> + <dependency name="file-tools"> + <make> + MKDIR=/bin/mkdir -p + RMFILE=/bin/rm -f + RMDIR=/bin/rm -f -R + COPYFILE=/bin/cp -f + COPYALL=/bin/cp -f -R + SYMLINK=/bin/ln -s + </make> + </dependency> - <dependency name="c" platform="mingw"> - <lang>c</lang> - <make> -AR=ar -ARFLAGS=r -STLIB_EXT=.lib -SHLIB_EXT=.dll - </make> - </dependency> + <dependency name="c" platform="mingw"> + <lang>c</lang> + <make> + AR=ar + ARFLAGS=r + STLIB_EXT=.lib + SHLIB_EXT=.dll + </make> + </dependency> - <dependency name="c" platform="macos"> - <lang>c</lang> - <make> -AR=ar -ARFLAGS=r -STLIB_EXT=.a -SHLIB_EXT=.dylib - </make> - </dependency> + <dependency name="c" platform="macos"> + <lang>c</lang> + <make> + AR=ar + ARFLAGS=r + STLIB_EXT=.a + SHLIB_EXT=.dylib + </make> + </dependency> - <dependency name="c" platform="unix"> - <lang>c</lang> - <make> -AR=ar -ARFLAGS=r -STLIB_EXT=.a -SHLIB_EXT=.so - </make> - </dependency> + <dependency name="c" platform="unix"> + <lang>c</lang> + <make> + AR=ar + ARFLAGS=r + STLIB_EXT=.a + SHLIB_EXT=.so + </make> + </dependency> - <dependency name="doxygen"> - <test>test -n "$DOXYGEN"</test> - </dependency> + <dependency name="doxygen"> + <test>test -n "$DOXYGEN"</test> + </dependency> - <dependency name="pandoc"> - <test>test -n "$PANDOC"</test> - </dependency> + <dependency name="pandoc"> + <test>test -n "$PANDOC"</test> + </dependency> + + <dependency name="coverage"> + <cflags>\${COVERAGE_CFLAGS}</cflags> + <ldflags>\${COVERAGE_LDFLAGS}</ldflags> + </dependency> - <dependency name="coverage"> - <cflags>\${COVERAGE_CFLAGS}</cflags> - <ldflags>\${COVERAGE_LDFLAGS}</ldflags> - </dependency> - - <target> - <option arg="with-docs"> - <value str="all"> - <dependencies>pandoc,doxygen</dependencies> - <make> -# Documentation -WITH_DOCS_API=yes -WITH_DOCS_HTML=yes - </make> - </value> - <value str="html"> - <dependencies>pandoc</dependencies> - <make> -# Documentation -WITH_DOCS_HTML=yes - </make> - </value> - <value str="api"> - <dependencies>doxygen</dependencies> - <make> -# Documentation -WITH_DOCS_API=yes - </make> - </value> - <value str="none"/> - <default value="all"/> - <default value="html"/> - <default value="api"/> - <default value="none"/> - </option> - <feature name="coverage"> - <dependencies>coverage</dependencies> - </feature> - <dependencies>c,file-tools</dependencies> - </target> + <target> + <option arg="with-docs"> + <value str="all"> + <dependencies>pandoc,doxygen</dependencies> + <make> + # Documentation + WITH_DOCS_API=yes + WITH_DOCS_HTML=yes + </make> + </value> + <value str="html"> + <dependencies>pandoc</dependencies> + <make> + # Documentation + WITH_DOCS_HTML=yes + </make> + </value> + <value str="api"> + <dependencies>doxygen</dependencies> + <make> + # Documentation + WITH_DOCS_API=yes + </make> + </value> + <value str="none"/> + <default value="all"/> + <default value="html"/> + <default value="api"/> + <default value="none"/> + </option> + <feature name="coverage"> + <dependencies>coverage</dependencies> + </feature> + <dependencies>c,file-tools</dependencies> + </target> </project> -