docs: Clarify BULK syntax.
[pwmd.git] / Makefile.am
blob4a4521bcc18fe23e46853b29e75f1855b8b1be17
1 EXTRA_DIST= build/config.rpath KnownBugs TODO ChangeLog INSTALL NEWS debian \
2             ABOUT-NLS THANKS
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
12 changelog:
13         git log --no-color > ChangeLog || exit 1
15 ChangeLog:
16         if test -d ${top_builddir}/.git/; then \
17             $(MAKE) $(AM_MAKEFLAGS) changelog; \
18         else \
19             touch ${top_builddir}/ChangeLog; \
20         fi
22 deb: changelog
23         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
25 version: changelog
26         $(MAKE) $(AM_MAKEFLAGS) distcheck
28 distcheck-hook:
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