-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
38 lines (31 loc) · 938 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = contrib cppconsui doc misc plugins po src tests
EXTRA_DIST = \
bootstrap \
HACKING \
gettext.h
dist_man_MANS = centerim5.1
BUILT_SOURCES = $(top_srcdir)/.version
# we want to execute this target everytime make is run
.PHONY: $(top_srcdir)/.version
$(top_srcdir)/.version:
@cd $(top_srcdir); version=`misc/git-version-gen .tarball-version`; \
if test "$$version" != "`cat .version 2> /dev/null`"; then printf '%s' "$$version" > .version; fi
dist-hook:
@cd $(top_srcdir); misc/git-version-gen .tarball-version > .tarball-version
@mv $(top_srcdir)/.tarball-version $(top_distdir)
.PHONY: doc
doc:
cd doc; $(MAKE) doc
# package in all cmake files
EXTRA_DIST += \
CMakeLists.txt \
config.h.cmake \
cmake/CMakeConfs.cmake \
cmake/FindCursesw.cmake \
cppconsui/CMakeLists.txt \
src/CMakeLists.txt \
tests/CMakeLists.txt \
plugins/CMakeLists.txt \
po/CMakeLists.txt \
doc/CMakeLists.txt