Merge lp:~charlesk/libindicator/fix-disthook into lp:libindicator/0.5

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 460
Merged at revision: 460
Proposed branch: lp:~charlesk/libindicator/fix-disthook
Merge into: lp:libindicator/0.5
Diff against target: 32 lines (+3/-2)
2 files modified
Makefile.am (+2/-2)
configure.ac (+1/-0)
To merge this branch: bzr merge lp:~charlesk/libindicator/fix-disthook
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+100020@code.launchpad.net

Description of the change

Fix auto-generation of AUTHORS and Changelog by looking for `missing' in the directory where we told AC_CONFIG_AUX_DIR to put it.

To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile.am'
--- Makefile.am 2012-01-13 15:09:40 +0000
+++ Makefile.am 2012-03-29 20:24:08 +0000
@@ -24,7 +24,7 @@
24 echo Creating ChangeLog && \24 echo Creating ChangeLog && \
25 ( cd "$(top_srcdir)" && \25 ( cd "$(top_srcdir)" && \
26 echo '# Generated by Makefile. Do not edit.'; echo; \26 echo '# Generated by Makefile. Do not edit.'; echo; \
27 $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \27 $(ac_aux_dir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \
28 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \28 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
29 || (rm -f ChangeLog.tmp; \29 || (rm -f ChangeLog.tmp; \
30 echo Failed to generate ChangeLog >&2 ); \30 echo Failed to generate ChangeLog >&2 ); \
@@ -36,7 +36,7 @@
36 echo Creating AUTHORS && \36 echo Creating AUTHORS && \
37 ( cd "$(top_srcdir)" && \37 ( cd "$(top_srcdir)" && \
38 echo '# Generated by Makefile. Do not edit.'; echo; \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 \39 $(ac_aux_dir)/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 \40 && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \
41 || (rm -f AUTHORS.tmp; \41 || (rm -f AUTHORS.tmp; \
42 echo Failed to generate AUTHORS >&2 ); \42 echo Failed to generate AUTHORS >&2 ); \
4343
=== modified file 'configure.ac'
--- configure.ac 2012-03-28 21:17:33 +0000
+++ configure.ac 2012-03-29 20:24:08 +0000
@@ -9,6 +9,7 @@
9AC_CONFIG_HEADERS([config.h])9AC_CONFIG_HEADERS([config.h])
10AC_CONFIG_MACRO_DIR([m4])10AC_CONFIG_MACRO_DIR([m4])
11AC_CONFIG_AUX_DIR([build-aux])11AC_CONFIG_AUX_DIR([build-aux])
12AC_SUBST([ac_aux_dir])
1213
13AM_INIT_AUTOMAKE([1.11 -Wall tar-pax])14AM_INIT_AUTOMAKE([1.11 -Wall tar-pax])
1415

Subscribers

People subscribed via source and target branches