~oubiwann/libgrip/671558-pygrip

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Duncan McGreggor
  • Date: 2010-11-10 21:04:53 UTC
  • mfrom: (1.2.5 trunk)
  • Revision ID: duncan@ubuntu.com-20101110210453-meve3zlxvc2i00ao
Merged from trunk (gobject introspection).

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
pkgconfig_DATA = libgrope-0.1.pc
14
14
 
15
15
CLEANFILES = libgrope-0.1.pc
16
 
DISTCLEANFILES = libgrope.pc
17
 
EXTRA_DIST = libgrope.pc.in
 
16
DISTCLEANFILES = libgrope.pc grope*.tar.gz
 
17
EXTRA_DIST = libgrope.pc.in m4/introspection.m4
18
18
 
19
19
DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc
 
20
 
 
21
dist-hook:
 
22
        @if test -d "$(top_srcdir)/.bzr";                                                               \
 
23
                then                                                                                    \
 
24
                        echo Creating ChangeLog &&                                                      \
 
25
                                ( cd "$(top_srcdir)" &&                                                 \
 
26
                                echo '# Generated by Makefile. Do not edit.'; echo;                     \
 
27
                                $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp   \
 
28
                                && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog                         \
 
29
                                || (rm -f ChangeLog.tmp;                                                \
 
30
                                        echo Failed to generate ChangeLog >&2 );                        \
 
31
        else                                                                                            \
 
32
                echo Failed to generate ChangeLog: not a branch >&2;                                    \
 
33
        fi
 
34
        @if test -d "$(top_srcdir)/.bzr";                                                               \
 
35
                then                                                                                    \
 
36
                        echo Creating AUTHORS &&                                                        \
 
37
                                ( cd "$(top_srcdir)" &&                                                 \
 
38
                                echo '# Generated by Makefile. Do not edit.'; echo; \
 
39
                                $(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 \
 
40
                                && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS                             \
 
41
                                || (rm -f AUTHORS.tmp;                                                  \
 
42
                                echo Failed to generate AUTHORS >&2 );                                  \
 
43
        else                                                                                            \
 
44
                echo Failed to generate AUTHORS: not a branch >&2;                                      \
 
45
        fi