summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-03-25 18:32:17 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-03-25 18:32:17 -0400
commit9a9391b572bc09c17bad0735946667df568402d8 (patch)
tree421693bbadd3681d7a206b82e6397ee3a0b38417
parent446a4ca439820630764f77507682beea7e7ac886 (diff)
downloadfreeipa-9a9391b572bc09c17bad0735946667df568402d8.zip
freeipa-9a9391b572bc09c17bad0735946667df568402d8.tar.gz
freeipa-9a9391b572bc09c17bad0735946667df568402d8.tar.xz
JavaScriptMVC
-rw-r--r--.gitignore6
-rw-r--r--Makefile18
2 files changed, 24 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b4c315b..6920333 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,12 @@ install/config.status
install/install-sh
install/missing
install/stamp-h1
+install/ui/steal
+install/ui/jquery
+install/ui/documentjs
+install/ui/funcunit
+install/ui/js
+install/ui/js.bat
ipa-client/COPYING
ipa-client/ChangeLog
ipa-client/INSTALL
diff --git a/Makefile b/Makefile
index 4cc9dea..5bbc6f5 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,8 @@ IPA_RPM_RELEASE=$(shell cat RELEASE)
LIBDIR ?= /usr/lib
+JSMVC=/usr/share/javascriptmvc
+
all: bootstrap-autogen server
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \
@@ -199,3 +201,19 @@ maintainer-clean: clean
cd ipapython && $(MAKE) maintainer-clean
rm -f version.m4
rm -f freeipa.spec
+
+jsmvc-setup:
+ ln -sf $(JSMVC)/steal install/ui
+ ln -sf $(JSMVC)/jquery install/ui
+ ln -sf $(JSMVC)/documentjs install/ui
+ ln -sf $(JSMVC)/funcunit install/ui
+ ln -sf $(JSMVC)/js install/ui
+ ln -sf $(JSMVC)/js.bat install/ui
+
+jsmvc-remove:
+ rm install/ui/js.bat
+ rm install/ui/js
+ rm install/ui/funcunit
+ rm install/ui/documentjs
+ rm install/ui/jquery
+ rm install/ui/steal