hydra/src/root/Makefile.am

30 lines
781 B
Makefile
Raw Normal View History

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 16:01:43 +00:00
$(wildcard static/css/*) \
2013-06-25 10:48:25 +00:00
static/js/bootbox.min.js \
2017-08-10 12:16:24 +00:00
static/js/common.js \
static/js/jquery/jquery-1.12.3.min.js \
static/js/jquery/jquery-ui-1.10.4.min.js
2010-09-30 14:29:15 +00:00
2014-10-07 11:35:31 +00:00
FLOT = flot-0.8.3.zip
2013-04-26 12:45:20 +00:00
BOOTSTRAP = bootstrap-2.3.1.zip
2010-09-30 14:29:15 +00:00
2017-08-10 12:16:24 +00: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)
all:
mkdir -p $(srcdir)/static/js
unzip -u -d $(srcdir)/static $(BOOTSTRAP)
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
mkdir -p $(hydradir)/static/bootstrap
cp -prvd $(srcdir)/static/bootstrap/* $(hydradir)/static/bootstrap