1 EXTRA_DIST= build/config.rpath KnownBugs TODO ChangeLog INSTALL NEWS debian \
3 ACLOCAL_AMFLAGS = -I m4
5 # For some reason some newer autoconf/automake appends --with-included-gettext
6 # to the 'configure' options when doing 'make distcheck'. Prevent that by
7 # passing the inverse option.
8 AM_DISTCHECK_CONFIGURE_FLAGS = --without-included-gettext
10 SUBDIRS=po doc src tests
13 git log --no-color > ChangeLog || exit 1
16 if test -d ${top_builddir}/.git/; then \
17 $(MAKE) $(AM_MAKEFLAGS) git_changelog; \
18 elif ! test -f ${top_builddir}/ChangeLog; then \
19 touch ${top_builddir}/ChangeLog; \
23 dpkg-buildpackage -B -uc -rfakeroot && dh_clean
25 version: git_changelog
26 $(MAKE) $(AM_MAKEFLAGS) distcheck
29 chmod u+w $(distdir)/doc
30 $(MAKE) $(AM_MAKEFLAGS) -C src
31 $(MAKE) $(AM_MAKEFLAGS) -C tests tests
32 $(MAKE) $(AM_MAKEFLAGS) -C doc