Changeset 16402c26dec1c83fc096f5c083c70c785139a720

Show
Ignore:
Timestamp:
03/31/08 18:40:48 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206981648 +0300
git-parent:

[0a9a406d2f20434e6f634b5d82fbcb82217d9876]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1206981648 +0300
Message:

Don't attempt to create ChangeLogs? if not in a git-tree.

There is no need to copy the files in that case thanks to VPATH.
That assumes you are using a source tarball then - if not, you are
screwed anywhow.

Files:

Legend:

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

    r5badb86 r16402c2  
    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 -d "$(top_srcdir)/.git"; then \ 
     54        y="$$(echo "$@" | sed -e 's,ChangeLog-,,')" ; \ 
     55        git --git-dir="$(top_srcdir)/.git" log \ 
     56            --since="$$y-01-01" \ 
     57            --until="$$y-12-31 23:00:00 -0100" \ 
     58            > "$@" ; \ 
     59    fi 
    5860 
    5961# This one needs to be rebuilt all the time :) 
    6062.PHONY: ChangeLog-2008 
     63# 
     64#distclean-hook: 
     65#   test "$(srcdir)" = "$(builddir)" || rm -f -- $(CHANGELOGS)