Merge branch 'next'
[hkl3d.git] / Makefile.am
bloba68eb1e20f7aa4e10b36dcdc9435d0376bb3a708
1 ## Process this file with automake to produce Makefile.in
3 ACLOCAL_AMFLAGS = -I m4
5 SUBDIRS = hkl3d test gui Documentation
7 EXTRA_DIST = hkl3d.pc.in
9 pkgconfigdir = $(libdir)/pkgconfig
10 pkgconfig_DATA = hkl3d.pc
12 ## Generate the Changelog file for the distribution.
13 dist-hook:
14         @if test -d "$(srcdir)/.git"; \
15         then \
16                 echo Creating ChangeLog && \
17                 ( cd "$(top_srcdir)" && \
18                   echo '# Generated by Makefile. Do not edit.'; echo; \
19                   $(top_srcdir)/config/missing --run git log --stat ) > ChangeLog.tmp \
20                 && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
21                 || ( rm -f ChangeLog.tmp ; \
22                      echo Failed to generate ChangeLog >&2 ); \
23         else \
24                 echo A git clone is required to generate a ChangeLog >&2; \
25         fi