summaryrefslogtreecommitdiffstats
path: root/web/Makefile.am
blob: 174ef229bcec8a2a8c0ac22a7a83e629b75cadb3 (plain)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
#
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in

dist_web_DATA = \
	demo.html \
	demo2.html \
	demosites.html \
	dashboard.html \
	dashboard.js \
	dashboard.css \
	dashboard.slate.css \
	favicon.ico \
	index.html \
	netdata-swagger.yaml \
	netdata-swagger.json \
	robots.txt \
	tv.html \
	version.txt \
	$(NULL)

webolddir=$(webdir)/old
dist_webold_DATA = \
	old/datasource.html \
	old/index.html \
	old/index.js \
	old/netdata.js \
	old/theme.css \
	$(NULL)

weblibdir=$(webdir)/lib
dist_weblib_DATA = \
	lib/dygraph-combined.js \
	lib/dygraph-smooth-plotter.js \
	lib/jquery-1.12.0.min.js \
	lib/jquery.peity.min.js \
	lib/jquery.sparkline.min.js \
	lib/morris.min.js \
	lib/raphael-min.js \
	lib/jquery.easypiechart.min.js \
	lib/jquery.nanoscroller.min.js \
	lib/bootstrap.min.js \
	lib/ElementQueries.js \
	lib/ResizeSensor.js \
	lib/bootstrap-toggle.min.js \
	lib/c3.min.js \
	lib/d3.min.js \
	lib/gauge.min.js \
	$(NULL)

webcssdir=$(webdir)/css
dist_webcss_DATA = \
	css/morris.css \
	css/bootstrap.min.css \
	css/bootstrap-theme.min.css \
	css/bootstrap.slate.min.css \
	css/font-awesome.min.css \
	css/bootstrap-toggle.min.css \
	css/c3.min.css \
	$(NULL)

webfontsdir=$(webdir)/fonts
dist_webfonts_DATA = \
	fonts/glyphicons-halflings-regular.eot \
	fonts/glyphicons-halflings-regular.svg \
	fonts/glyphicons-halflings-regular.ttf \
	fonts/glyphicons-halflings-regular.woff \
	fonts/glyphicons-halflings-regular.woff2 \
	fonts/FontAwesome.otf \
	fonts/fontawesome-webfont.eot \
	fonts/fontawesome-webfont.svg \
	fonts/fontawesome-webfont.ttf \
	fonts/fontawesome-webfont.woff \
	fonts/fontawesome-webfont.woff2 \
	$(NULL)

webimagesdir=$(webdir)/images
dist_webimages_DATA = \
	images/seo-performance-16.png \
	images/seo-performance-24.png \
	images/seo-performance-32.png \
	images/seo-performance-48.png \
	images/seo-performance-64.png \
	images/seo-performance-72.png \
	images/seo-performance-114.png \
	images/seo-performance-128.png \
	images/seo-performance-256.png \
	images/seo-performance-512.png \
	images/seo-performance-multi-size.ico \
	images/seo-performance-multi-size.icns \
	$(NULL)

version.txt:
	if test -d "$(top_srcdir)/.git"; then \
		git --git-dir="$(top_srcdir)/.git" log -n 1 --format=%H; \
	fi > $@.tmp
	test -s $@.tmp || echo 0 > $@.tmp
	mv $@.tmp $@

.PHONY: version.txt