# HG changeset patch # User Mike Miller # Date 1424533350 18000 # Node ID df3f1d2328d7aaf660d8f831c0248580c4374be7 # Parent 5512baa94d302f340d2ac32b843398e34ffbcfb5 Fix 'make dist' target failing (bug #44333) * Makefile.am (changelog-from-hg-log): Run in a subshell instead of a group command so the working directory is not changed. diff -r 5512baa94d30 -r df3f1d2328d7 Makefile.am --- a/Makefile.am Sat Feb 21 10:42:00 2015 -0500 +++ b/Makefile.am Sat Feb 21 10:42:30 2015 -0500 @@ -160,11 +160,11 @@ define changelog-from-hg-log rm -f $@-t $@ && \ - { cd $(srcdir); \ + ( cd $(srcdir); \ hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; \ echo ""; \ echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19"; \ - } > $@-t && \ + ) > $@-t && \ mv $@-t $@ endef