2013-01-22 11:05:13 +00:00
|
|
|
TEMPLATES = $(wildcard *.tt)
|
2010-09-30 14:29:15 +00:00
|
|
|
STATIC = \
|
|
|
|
$(wildcard static/images/*) \
|
2013-02-23 17:01:43 +01:00
|
|
|
$(wildcard static/css/*) \
|
2013-06-25 12:48:25 +02:00
|
|
|
static/js/bootbox.min.js \
|
2017-08-10 14:16:24 +02:00
|
|
|
static/js/common.js \
|
2019-07-30 16:23:20 -04:00
|
|
|
static/js/jquery/jquery-3.4.1.min.js \
|
2017-08-10 14:16:24 +02:00
|
|
|
static/js/jquery/jquery-ui-1.10.4.min.js
|
2010-09-30 14:29:15 +00:00
|
|
|
|
2014-10-07 13:35:31 +02:00
|
|
|
FLOT = flot-0.8.3.zip
|
2019-07-30 17:51:24 -04:00
|
|
|
BOOTSTRAP = bootstrap-4.3.1-dist.zip
|
2010-09-30 14:29:15 +00:00
|
|
|
|
2017-08-10 14:16:24 +02:00
|
|
|
ZIPS = $(FLOT) $(BOOTSTRAP)
|
2010-09-30 14:29:15 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = $(TEMPLATES) $(STATIC) $(ZIPS)
|
|
|
|
|
|
|
|
hydradir = $(libexecdir)/hydra/root
|
|
|
|
nobase_hydra_DATA = $(EXTRA_DIST)
|
2012-04-02 11:15:48 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
mkdir -p $(srcdir)/static/js
|
2012-04-12 20:12:07 +02:00
|
|
|
unzip -u -d $(srcdir)/static $(BOOTSTRAP)
|
2012-04-02 11:15:48 +00:00
|
|
|
unzip -u -d $(srcdir)/static/js $(FLOT)
|
|
|
|
|
2010-09-30 14:29:15 +00:00
|
|
|
install-data-local: $(ZIPS)
|
|
|
|
mkdir -p $(hydradir)/static/js
|
2013-01-22 11:05:13 +00:00
|
|
|
cp -prvd $(srcdir)/static/js/* $(hydradir)/static/js
|
2012-04-12 20:12:07 +02:00
|
|
|
mkdir -p $(hydradir)/static/bootstrap
|
2019-07-30 17:51:24 -04:00
|
|
|
cp -prvd $(srcdir)/static/$(basename $(BOOTSTRAP))/* $(hydradir)/static/bootstrap
|