forked from jidehen/openlink-personal-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
37 lines (30 loc) · 934 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
OAI_CHAT_STICKER = sticker.xml
OAI_CHAT_FILES = \
$(srcdir)/AUTHORS \
$(srcdir)/index.html \
$(srcdir)/sticker.xml \
$(srcdir)/configure.ac \
$(srcdir)/COPYING \
$(srcdir)/COPYING.md \
$(srcdir)/LICENSE.md \
$(srcdir)/Makefile.am \
$(srcdir)/vad_version \
$(srcdir)/svg/*.* \
$(srcdir)/js/*.js
$(srcdir)/lib/*.js \
$(srcdir)/css/*.css
NEED_VERSION=08.03.3329
VAD_VERSION=$(shell ./gen_version.sh)
vad_DATA = opal_assistant_skin_dav.vad
version.js: $(OAI_CHAT_FILES)
@echo "vad_version='$(VAD_VERSION)';" > version.js
opal_assistant_skin_dav.vad: $(OAI_CHAT_FILES) $(OAI_CHAT_STICKER) Makefile vad_version version.js
@PYTHON@ @VADPACKER@ -o opal_assistant_skin_dav.vad \
--var="VERSION=$(VAD_VERSION)" \
--var="BASE_PATH=/DAV/VAD" \
--var="TYPE=dav" \
--var="ISDAV=1" \
--var="NEED_VERSION=$(NEED_VERSION)" \
$(OAI_CHAT_STICKER)
CLEANFILES = *.vad
EXTRA_DIST = $(OAI_CHAT_FILES) $(OAI_CHAT_STICKER)