generate-changelog:
if test -d $(top_srcdir)/.git; then \
- $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27 \
- > $(distdir)/cl-t; \
+ $(top_srcdir)/build-aux/gitlog-to-changelog --since=2008-07-27 --srcdir=$(top_srcdir) \
+ > $(distdir)/cl-t || exit 1; \
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
fi
include $(top_srcdir)/examples/automake.mk
include $(top_srcdir)/src/automake.mk
include $(top_srcdir)/utilities/automake.mk
-
include $(top_srcdir)/tests/automake.mk
if WITH_GUI_TOOLS
dist-hook-git: distfiles
@if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \
(cd $(srcdir) && git ls-files) \
- | grep -vE '\.gitignore|README.Git|Smake' \
+ | grep -vE '\.gitignore|README.Git|Smake|Bug-administration' \
| LC_ALL=C sort -u > gitfiles; \
LC_ALL=C comm -1 -3 distfiles gitfiles > missing-distfiles; \
if test -s missing-distfiles; then \
fi
# The following is based on commands for the Automake "distdir" target.
distfiles: Makefile
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ @srcdirstrip=`echo "$(srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
+ $(SED) -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" \
| LC_ALL=C sort -u > $@
CLEANFILES += distfiles gitfiles missing-distfiles