forked from openlink/html5pivotviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
88 lines (76 loc) · 2.24 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# HTML5 PivotViewer
#
# Original Code:
# Copyright (C) 2011 LobsterPot Solutions - http://www.lobsterpot.com.au/
# enquiries@lobsterpot.com.au
#
# Enhancements:
# Copyright (C) 2012-2014 OpenLink Software - http://www.openlinksw.com/
#
# This software is licensed under the terms of the
# GNU General Public License v2 (see COPYING)
#
GENERATED = pivotviewer.min.js pivotviewer.js
CLEANFILES = $(GENERATED) *.vad
BUILT_SOURCES = $(GENERATED)
GEN = $(SHELL) $(top_srcdir)/admin/generate
SOURCES = \
$(srcdir)/src/namespaces.js \
$(srcdir)/src/pubsub.js \
$(srcdir)/src/utils.js \
$(srcdir)/src/models.js \
$(srcdir)/src/collectionloader.js \
$(srcdir)/src/jsonloader.js \
$(srcdir)/src/views/ipivotviewerview.js \
$(srcdir)/src/views/tilebasedview.js \
$(srcdir)/src/views/dataview.js \
$(srcdir)/src/views/graphview.js \
$(srcdir)/src/views/gridview.js \
$(srcdir)/src/views/iimagecontroller.js \
$(srcdir)/src/views/LoadImageSetHelper.js \
$(srcdir)/src/views/mapview.js \
$(srcdir)/src/views/mapview2.js \
$(srcdir)/src/views/timeview.js \
$(srcdir)/src/views/tableview.js \
$(srcdir)/src/views/tilecontroller.js \
$(srcdir)/src/views/deepzoom.js \
$(srcdir)/src/views/simpleimage.js \
$(srcdir)/src/pivotviewer.js
vad_DATA = html5pivotviewer_dav.vad
GEN_VERSION := $(shell @top_srcdir@/gen_version.sh)
pivotviewer.js: Makefile $(SOURCES)
cat $(SOURCES) | sed -e 's#\@VERSION\@#$(GEN_VERSION)#' > $@
pivotviewer.min.js: pivotviewer.js
@$(GEN) uglifyjs -o pivotviewer.min.js pivotviewer.js
html5pivotviewer_dav.vad: $(SOURCES) $(GENERATED) Makefile html5pivotviewer-sticker.xml
@PYTHON@ $(top_srcdir)/vadpacker/vadpacker.py \
-o html5pivotviewer_dav.vad \
--var="VERSION=$(GEN_VERSION)" \
$(srcdir)/html5pivotviewer-sticker.xml
# package the vadpacker from the submodule
# We include the full dir to also support the case when the dir is empty
EXTRA_DIST = \
LICENSE \
$(SOURCES) \
$(GENERATED) \
*.html \
admin/generate \
autogen.sh \
gen_version.sh \
html5pivotviewer-sticker.xml \
html5pivotviewer_dav.vad \
images \
lib \
style/*.css \
vadpacker \
vsp/*.sql \
vsp/*.vsp \
vsp/*.vspx \
vsp/*.ico \
vsp/scripts/*.js \
vsp/skin/i/*.png \
vsp/skin/ss/*.css
.PHONY: changeLog
changelog:
git2cl > ChangeLog