Roger Leigh created XERCESC-2136:
------------------------------------

             Summary: Add support for versioning sources and documentation 
automatically
                 Key: XERCESC-2136
                 URL: https://issues.apache.org/jira/browse/XERCESC-2136
             Project: Xerces-C++
          Issue Type: Improvement
          Components: Build, Utilities
    Affects Versions: 3.2.0
            Reporter: Roger Leigh
            Assignee: Roger Leigh


Making a release requires a number of manual updates to various files including:
 * configure.ac
 * versions.incl
 * xerces-c.spec
 * src/xercesc/util/XercesVersion.hpp
 * doc/style/dtd/entities.ent
 * doc/source-repository.xml
 * doc/Doxyfile

It would be more efficient to make the majority of these updates automatic.

 

I've worked on some simple updates to the autoconf and cmake builds to do the 
following:
 * move library versioning into configure.ac (no separate updates to 
versions.incl)
 * generate a Xerces_version_config.hpp header like the 
Xerces_autoconf_config.hpp header, for inclusion by XercesVersion.hpp
 * generating entities.ent to automate docs version updates
 * making source-repository.xml use version entities to eliminate manual updates
 * generating Doxyfile to avoid manual version updates

 

This narrows down updates to two files:
 * configure.ac
 * xerces-c.spec

 

I'll attach a patch once I've done some more testing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to