Update git-version-gen from gnulib to version 2017-01-09.19
[centerim5.git] / Makefile.am
blobb18f7ca2bb72c4127951bc8fd7c1caec7f078bf9
1 ACLOCAL_AMFLAGS = -I m4
3 SUBDIRS = contrib cppconsui doc misc plugins po src tests
5 EXTRA_DIST = \
6         HACKING \
7         bootstrap \
8         gettext.h
10 dist_man_MANS = centerim5.1
12 BUILT_SOURCES = $(top_srcdir)/.version
13 # We want to execute this target everytime make is run.
14 .PHONY: $(top_srcdir)/.version
15 $(top_srcdir)/.version:
16         $(AM_V_at)cd $(top_srcdir); \
17         version=`misc/git-version-gen .tarball-version`; \
18         if test "$$version" != "`cat .version 2> /dev/null`"; then \
19                 printf '%s' "$$version" > .version; \
20         fi
22 dist-hook:
23         $(AM_V_at)cd $(top_srcdir); misc/git-version-gen .tarball-version \
24                 > .tarball-version
25         $(AM_V_at)mv $(top_srcdir)/.tarball-version $(top_distdir)
27 .PHONY: doc
28 doc:
29         $(AM_V_at)cd doc; $(MAKE) doc
31 # Package in all cmake files.
32 EXTRA_DIST += \
33         CMakeLists.txt \
34         config.h.cmake \
35         cppconsui/CMakeLists.txt \
36         doc/CMakeLists.txt \
37         plugins/CMakeLists.txt \
38         po/CMakeLists.txt \
39         src/CMakeLists.txt \
40         tests/CMakeLists.txt