mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 21:36:21 +00:00
autotools: install themes during 'make install'
Default path for themes is ${pkgdatadir}/themes that usualy equals to
/usr/share/profanity/themes. This patch also introduces new option
--with-themes[=PATH] that specifies installation path. This option can
be used for cancel of installation at all: --without-themes.
References: issue #323
This commit is contained in:
14
Makefile.am
14
Makefile.am
@@ -90,6 +90,16 @@ otr3_sources = \
|
||||
otr4_sources = \
|
||||
src/otr/otrlib.h src/otr/otrlibv4.c src/otr/otr.h src/otr/otr.c
|
||||
|
||||
themes_sources = \
|
||||
themes/aqua \
|
||||
themes/boothj5 \
|
||||
themes/hacker \
|
||||
themes/headache \
|
||||
themes/original \
|
||||
themes/redsplash \
|
||||
themes/whiteness \
|
||||
themes/yellowsplash
|
||||
|
||||
if BUILD_OTR
|
||||
if BUILD_OTR3
|
||||
core_sources += $(otr3_sources)
|
||||
@@ -103,6 +113,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
|
||||
|
||||
Reference in New Issue
Block a user