STORE: Fix trying to create a new path in wrong element.
[pwmd.git] / Makefile.am
blobd2369b976a23d3c77bf9d185f23fce89dd3518b0
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 git_changelog:
13         git log --no-color > ChangeLog || exit 1
15 ChangeLog:
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; \
20         fi
22 deb: ChangeLog
23         dpkg-buildpackage -B -uc -rfakeroot && dh_clean
25 version: git_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