2013-01-22 11:05:13 +00:00
|
|
|
TEMPLATES = $(wildcard *.tt)
|
2010-09-30 14:29:15 +00:00
|
|
|
STATIC = \
|
|
|
|
$(wildcard static/images/*) \
|
|
|
|
$(wildcard static/css/*)
|
|
|
|
|
2013-01-22 11:05:13 +00:00
|
|
|
FLOT = flot-0.6.zip
|
|
|
|
TABLESORTER = jquery.tablesorter.zip
|
2010-09-30 14:29:15 +00:00
|
|
|
JQUERY = jquery-ui-1.8.5.custom.zip
|
2012-04-12 18:12:07 +00:00
|
|
|
BOOTSTRAP = bootstrap.zip
|
2010-09-30 14:29:15 +00:00
|
|
|
|
2012-04-12 18:12:07 +00:00
|
|
|
ZIPS = $(FLOT) $(TABLESORTER) $(JQUERY) $(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
|
|
|
|
unzip -u -d $(srcdir)/static/js/jquery $(JQUERY)
|
2012-04-12 18:12:07 +00:00
|
|
|
unzip -u -d $(srcdir)/static $(BOOTSTRAP)
|
2012-04-02 11:15:48 +00:00
|
|
|
rm -rf $(srcdir)/static/js/tablesorter
|
|
|
|
unzip -u -d $(srcdir)/static/js $(TABLESORTER)
|
|
|
|
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 18:12:07 +00:00
|
|
|
mkdir -p $(hydradir)/static/bootstrap
|
|
|
|
cp -prvd $(srcdir)/static/bootstrap/* $(hydradir)/static/bootstrap
|