Unpack jQuery etc. in the build tree for easier testing

This commit is contained in:
Eelco Dolstra 2012-04-02 11:15:48 +00:00
parent 0aae52bfcc
commit d33fbad438

View file

@ -14,10 +14,13 @@ 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/js/jquery $(JQUERY)
rm -rf $(srcdir)/static/js/tablesorter
unzip -u -d $(srcdir)/static/js $(TABLESORTER)
unzip -u -d $(srcdir)/static/js $(FLOT)
install-data-local: $(ZIPS)
mkdir -p $(hydradir)/static/js
unzip -u -d $(hydradir)/static/js/jquery $(JQUERY)
rm -rf $(hydradir)/static/js/tablesorter
unzip -u -d $(hydradir)/static/js $(TABLESORTER)
unzip -u -d $(hydradir)/static/js $(FLOT)
cp -prvd $(srcdir)/static/js/* $(hydradir)/static/js