forked from lix-project/hydra
Unpack jQuery etc. in the build tree for easier testing
This commit is contained in:
parent
0aae52bfcc
commit
d33fbad438
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue