]> arthur.barton.de Git - netdata.git/blob - web/Makefile.am
Add a generated version.txt containing commit id
[netdata.git] / web / Makefile.am
1 #
2 # Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
3 #
4 MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
5
6 dist_web_DATA = \
7         robots.txt \
8         index.html \
9         demo.html \
10         demo2.html \
11         tv.html \
12         dashboard.html \
13         dashboard.js \
14         dashboard.css \
15         dashboard.slate.css \
16         favicon.ico \
17         netdata-swagger.yaml \
18         netdata-swagger.json \
19         version.txt \
20         $(NULL)
21
22 webolddir=$(webdir)/old
23 dist_webold_DATA = \
24         old/datasource.html \
25         old/index.html \
26         old/index.js \
27         old/netdata.js \
28         old/theme.css \
29         $(NULL)
30
31 weblibdir=$(webdir)/lib
32 dist_weblib_DATA = \
33         lib/dygraph-combined.js \
34         lib/dygraph-smooth-plotter.js \
35         lib/jquery-1.12.0.min.js \
36         lib/jquery.peity.min.js \
37         lib/jquery.sparkline.min.js \
38         lib/morris.min.js \
39         lib/raphael-min.js \
40         lib/jquery.easypiechart.min.js \
41         lib/jquery.nanoscroller.min.js \
42         lib/bootstrap.min.js \
43         lib/ElementQueries.js \
44         lib/ResizeSensor.js \
45         lib/bootstrap-toggle.min.js \
46         lib/c3.min.js \
47         lib/d3.min.js \
48         lib/gauge.min.js \
49         $(NULL)
50
51 webcssdir=$(webdir)/css
52 dist_webcss_DATA = \
53         css/morris.css \
54         css/bootstrap.min.css \
55         css/bootstrap-theme.min.css \
56         css/bootstrap.slate.min.css \
57         css/font-awesome.min.css \
58         css/bootstrap-toggle.min.css \
59         css/c3.min.css \
60         $(NULL)
61
62 webfontsdir=$(webdir)/fonts
63 dist_webfonts_DATA = \
64         fonts/glyphicons-halflings-regular.eot \
65         fonts/glyphicons-halflings-regular.svg \
66         fonts/glyphicons-halflings-regular.ttf \
67         fonts/glyphicons-halflings-regular.woff \
68         fonts/glyphicons-halflings-regular.woff2 \
69         fonts/FontAwesome.otf \
70         fonts/fontawesome-webfont.eot \
71         fonts/fontawesome-webfont.svg \
72         fonts/fontawesome-webfont.ttf \
73         fonts/fontawesome-webfont.woff \
74         fonts/fontawesome-webfont.woff2 \
75         $(NULL)
76
77 webimagesdir=$(webdir)/images
78 dist_webimages_DATA = \
79         images/seo-performance-16.png \
80         images/seo-performance-24.png \
81         images/seo-performance-32.png \
82         images/seo-performance-48.png \
83         images/seo-performance-64.png \
84         images/seo-performance-72.png \
85         images/seo-performance-114.png \
86         images/seo-performance-128.png \
87         images/seo-performance-256.png \
88         images/seo-performance-512.png \
89         images/seo-performance-multi-size.ico \
90         images/seo-performance-multi-size.icns \
91         $(NULL)
92
93 version.txt:
94         git log -n 1 | grep ^commit\ | cut -d " " -f 2 > version.txt.tmp
95         mv version.txt.tmp version.txt
96
97 .PHONY: version.txt