From d33fbad438150a1035186c183a3135d44d24e9de Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 2 Apr 2012 11:15:48 +0000 Subject: [PATCH] Unpack jQuery etc. in the build tree for easier testing --- src/root/Makefile.am | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/root/Makefile.am b/src/root/Makefile.am index d57d4fb6..87a15fde 100644 --- a/src/root/Makefile.am +++ b/src/root/Makefile.am @@ -13,11 +13,14 @@ 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