Changeset 7b94d2ff3f5ac50d96673ac578856ec4cf762c47

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

[500894facc0beab754ebc84b3129a6befc8d7394]

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
(cherry picked from commit 70f620e7f94eb02fc6f5eda47599ae5354c12483)

Files:

Legend:

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

    r4f81515 r7b94d2f  
    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 :)