Do not hardcode path to TERMINFO in termex
[centerim5.git] / Makefile.am
blobfa540cef1dba8b4d36e3be54409b77f96ff4ec5d
1 ACLOCAL_AMFLAGS = -I m4
3 SUBDIRS = contrib cppconsui doc misc plugins po src tests
5 EXTRA_DIST = \
6         bootstrap \
7         HACKING \
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         src/CMakeLists.txt \
37         tests/CMakeLists.txt \
38         plugins/CMakeLists.txt \
39         po/CMakeLists.txt \
40         doc/CMakeLists.txt