Commit Graph

21 Commits

Author SHA1 Message Date
Thomas Nagy 5a3a89b4de Stop adding incompatible task data into the same dict objects 2015-12-24 18:36:48 +01:00
Thomas Nagy 7681bddfb7 Remove Node.sig and Node.cache_sig 2015-12-23 17:55:44 +01:00
Thomas Nagy f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Thomas Nagy e9e8df28a4
iteritems does not work in python3 2015-08-12 18:31:14 +02:00
Thomas Nagy 4949c0d894
Ensure Doxygen outputs are installed even when the task is not run 2015-07-07 21:00:18 +02:00
Daniel Vollmer b1a606c8e6
Generate doxygen into a sub-folder of build
When no OUTPUT_DIRECTORY was set for doxygen, then the parent
directory of the doxyfile was used. If the doxyfile is in the
root-directory, then this was the build-directory itself, which
led to the complete build-directory (including all other build
artifacts) to be installed.

The OUTPUT_DIRECTORY set (if not given) now includes the name
of the doxyfile itself (+ suffix '.doxy').

The install of doxygen-generated files also did not preserve
the directory structure.

The doxy playground example was simplified and updated, as
separate installation is no longer needed.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-03-05 15:14:22 +01:00
Thomas Nagy df379d3ecd
Look up doxygen inputs relative to the doxygen file - Issue 1542 2015-03-04 19:25:35 +01:00
Josh Bartel 20112c4556
doxygen: Ensure output directory is created
Ensure the output directory is always created to avoid issues when
trying to install on a clean build.

Change-Id: I64be30348af7862971cbbc1f17bc53213b9998f3
Type: Bug Fix
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-12 07:20:31 +02:00
Josh Bartel 81c3ec0bf3
doxygen: Add install support
This adds support to the doxygen tool for installing the documentation
that was generated.  A new install_path attribute can be added to the
doxygen TaskGen to control where it should be installed to.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-09 00:33:20 +02:00
Josh Bartel 53945acb25
doxygen: Set cwd to the Doxyfile folder
The doxygen tool had previously been modified to always run from the
root of the build directory.  This was done as a workaround to allow
the OUTPUT_PATH in the doxyfile to contain a relative path.  The tool
then had to be modified to fix up any relative paths in the Doxyfile
to be relative to the root of the build directory.  This is problematic
because there are many DoxyFile parameters that can be relative paths.

This patch fixes up the logic to execute doxygen in the same directory
where the DoxyFile lives.  This allows all relative paths in the
Doxyfile to work so they no longer need fixed up.  It then updates the
logic for OUTPUT_DIRECTORY to handle relative paths correctly.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-09 00:31:13 +02:00
Thomas Nagy c21317c727
Issue 1453 2014-05-19 21:32:24 +02:00
Thomas Nagy 067ade9a40 Issue 1375, doxygen and paths containing spaces 2013-11-07 23:11:57 +01:00
Thomas Nagy 54d4ff7ce0 'is not None' is unnecessary 2013-09-28 23:55:08 +02:00
Nate Rosenblum 87403f4285 Allow doxygen parameters to be passed to task
The doxygen demo program suggests that doxy parameters can be passed
as arguments to the task, e.g.,

   bld(features="doxygen", doxyfile="doxy.conf",
        pars={'INPUT': bld.path.ant_glob("**/*.c")})

Previously, these inputs were not passed from the task generator
to the task, and only the parameters read from the doxy configuration
file were used. This patch retrieves parameters (if any) from the task
generator and uses them to override those in the doxy file,
allowing more flexible overriding for individual build targets.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-09-28 23:54:55 +02:00
Alexander Afanasyev 8e50cda867 extras/doxygen: Adding support for RECURSIVE and making detection non-mandatory by default
added: support for RECURSIVE, as well as for included and excluded files

changed: detection of doxygen is non-mandatory by default. If it is
         desired that doxygen is mandatory, user is expected to check
         bld|conf.env.DOXYGEN and bld|conf.env.TAR variables

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-18 21:31:22 +02:00
Thomas Nagy ed52334a57 Issue 1232 2012-12-19 02:51:33 +01:00
Thomas Nagy 59363114c3 Issue 1232 2012-12-16 16:58:55 +01:00
Thomas Nagy a71ca54558 Issue 1232 2012-12-09 05:29:59 +01:00
Thomas Nagy f71406c404 Issue 1157 2012-05-04 23:53:51 +02:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00