~ubuntu-branches/ubuntu/natty/indicator-applet/natty

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-22 18:08:32 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20100922180832-otajuceytqqdyk1y
Tags: upstream-0.4.6
ImportĀ upstreamĀ versionĀ 0.4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
EXTRA_DIST = \
14
14
        COPYING.LGPL
15
15
 
 
16
dist-hook:
 
17
        @if test -d "$(top_srcdir)/.bzr"; \
 
18
                then \
 
19
                        echo Creating ChangeLog && \
 
20
                                ( cd "$(top_srcdir)" && \
 
21
                                echo '# Generated by Makefile. Do not edit.'; echo; \
 
22
                                $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \
 
23
                                && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
 
24
                                || (rm -f ChangeLog.tmp; \
 
25
                                        echo Failed to generate ChangeLog >&2 ); \
 
26
        else \
 
27
                        echo Failed to generate ChangeLog: not a branch >&2; \
 
28
        fi
 
29
        @if test -d "$(top_srcdir)/.bzr"; \
 
30
                then \
 
31
                        echo Creating AUTHORS && \
 
32
                                ( cd "$(top_srcdir)" && \
 
33
                                echo '# Generated by Makefile. Do not edit.'; echo; \
 
34
                                $(top_srcdir)/missing --run  bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \
 
35
                                && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \
 
36
                                || (rm -f AUTHORS.tmp; \
 
37
                                        echo Failed to generate AUTHORS >&2 ); \
 
38
        else \
 
39
                        echo Failed to generate AUTHORS: not a branch >&2; \
 
40
        fi