Merge remote-tracking branch 'pasis/iss323'

This commit is contained in:
James Booth
2014-04-18 21:41:05 +01:00
3 changed files with 121 additions and 73 deletions

View File

@@ -79,8 +79,8 @@ tests_sources = \
tests/test_preferences.c \
tests/test_server_events.c \
tests/test_muc.c \
tests/test_cmd_roster.c \
tests/test_cmd_win.c \
tests/test_cmd_roster.c \
tests/test_cmd_win.c \
tests/testsuite.c
main_source = src/main.c
@@ -93,6 +93,10 @@ otr3_sources = \
otr4_sources = \
src/otr/otrlib.h src/otr/otrlibv4.c src/otr/otr.h src/otr/otr.c
themes_sources = themes/*
man_sources = docs/profanity.1
if BUILD_OTR
if BUILD_OTR3
core_sources += $(otr3_sources)
@@ -106,6 +110,10 @@ endif
bin_PROGRAMS = profanity
profanity_SOURCES = $(core_sources) $(main_source)
if THEMES_INSTALL
profanity_themesdir = @THEMES_PATH@
profanity_themes_DATA = $(themes_sources)
endif
if INCLUDE_GIT_VERSION
BUILT_SOURCES = $(git_include)
endif
@@ -115,9 +123,13 @@ check_PROGRAMS = tests/testsuite
tests_testsuite_SOURCES = $(tests_sources)
tests_testsuite_LDADD = -lcmocka
man_MANS = docs/profanity.1
man_MANS = $(man_sources)
EXTRA_DIST = $(man_sources) $(themes_sources)
if INCLUDE_GIT_VERSION
EXTRA_DIST += .git/HEAD .git/index
$(git_include).in: .git/HEAD .git/index
rm -f $@
echo "#ifndef PROF_GIT_BRANCH" >> $@