Build System: Use a date (currently 2005-01-01) for basing the

generation of ChangeLog instead of a (somehow obscure) revision.


git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@410 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
htgoebel 2005-01-16 20:56:55 +00:00
parent 176451492c
commit 0619727ab3
3 changed files with 7 additions and 7 deletions

View File

@ -34,7 +34,7 @@ ChangeLog:
echo "# ChangeLog.complete lists all changes in all branches if needed" >> ChangeLog
echo "# for reference." >> ChangeLog
echo >> ChangeLog
svn log -r HEAD:385 -v >> ChangeLog
svn log -r "HEAD:{2005-01-01}" -v >> ChangeLog
ChangeLog.complete:
echo "# This file is automatically generated from the Subversion" > ChangeLog.complete

View File

@ -645,7 +645,7 @@ ChangeLog:
echo "# ChangeLog.complete lists all changes in all branches if needed" >> ChangeLog
echo "# for reference." >> ChangeLog
echo >> ChangeLog
svn log -r HEAD:385 -v >> ChangeLog
svn log -r "HEAD:{2005-01-01}" -v >> ChangeLog
ChangeLog.complete:
echo "# This file is automatically generated from the Subversion" > ChangeLog.complete

View File

@ -38,14 +38,14 @@ changelog_header = """
# for reference.
"""
cl = env.Command(
'#/Changelog', None,
'#/ChangeLog', None,
[Echo('$TARGET', changelog_header),
Echo('$TARGET', ''),
# need to set locale to set correct character encoding
'LANG=de_DE svn log -v -r HEAD:385 >> $TARGET'
'LANG=de_DE svn log -v -r "HEAD:{2005-01-01}" >> $TARGET'
])
env.ExtraDist(cl)
if is_dist or 'Changelog' in COMMAND_LINE_TARGETS:
if is_dist or 'ChangeLog' in COMMAND_LINE_TARGETS:
env.AlwaysBuild(cl)
@ -56,12 +56,12 @@ changelog_complete_header = """
# changes which lead to this release, please refer to the ChangeLog
"""
cl = env.Command(
'#/Changelog.complete', None,
'#/ChangeLog.complete', None,
[Echo('$TARGET', changelog_complete_header),
Echo('$TARGET', ''),
# need to set locale to set correct character encoding
'LANG=de_DE svn log -v $SVNREPOSITORY >> $TARGET'
])
env.ExtraDist(cl)
if is_dist or 'Changelog.complete' in COMMAND_LINE_TARGETS:
if is_dist or 'ChangeLog.complete' in COMMAND_LINE_TARGETS:
env.AlwaysBuild(cl)