[ 
https://issues.apache.org/jira/browse/XERCESC-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363242#comment-16363242
 ] 

Roger Leigh commented on XERCESC-2136:
--------------------------------------

Patch attached.  There's some annoying permissions issue breaking "make 
distcheck" when it runs distclean, which I'll continue to look into.  But if 
you wanted to try it out and see if any version numbers are still hardcoded and 
need updating, "make dist" will work.

> 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
>            Priority: Major
>         Attachments: 
> 0001-Automatically-generate-versioned-documentation-and-h.patch
>
>
> 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