Changeset 70f620e7f94eb02fc6f5eda47599ae5354c12483

Show
Ignore:
Timestamp:
31/03/08 17:45:49 (7 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1206978349 +0200
git-parent:

[722517aa73b06487f43bee6cf6865fb85fbc2786]

git-author:
Rafaël Carré <funman@videolan.org> 1206978349 +0200
Message:

Copy the changelogs if they exist instead of generating them with git

Fix make distcheck

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/Makefile.am

    r722517a r70f620e  
    5151 
    5252$(CHANGELOGS): Makefile.am 
    53     y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \ 
    54     git --git-dir=$(top_srcdir)/.git log\ 
    55         --since="$$y-01-01" \ 
    56         --until="$$y-12-31 23:00:00 -0100" \ 
    57         > "$@" 
     53    if test -f "$(top_srcdir)/doc/$@"; then \ 
     54        cp "$(top_srcdir)/doc/$@" "$@" ; \ 
     55    else \ 
     56        y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \ 
     57        git --git-dir=$(top_srcdir)/.git log \ 
     58            --since="$$y-01-01" \ 
     59            --until="$$y-12-31 23:00:00 -0100" \ 
     60            > "$@" ; \ 
     61    fi 
    5862 
    5963# This one needs to be rebuilt all the time :)