summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-11-23 17:19:37 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-02-21 13:08:39 +0100
commitaec35465fed1771e45f9755c80781bf478087fa9 (patch)
tree8980b0c4122d23ca234c020882732c454ca2b0f7 /install
parent591041d54d22703153ff2d7793d2a45a634152ff (diff)
downloadfreeipa.git-aec35465fed1771e45f9755c80781bf478087fa9.tar.gz
freeipa.git-aec35465fed1771e45f9755c80781bf478087fa9.tar.xz
freeipa.git-aec35465fed1771e45f9755c80781bf478087fa9.zip
Updated makefiles to build FreeIPA Web UI layer
Updated makefiles to comply to new directory structure and also to use builder for building Web UI. FreeIPA package spec is modified to use the output of the builder. https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install')
-rw-r--r--install/configure.ac5
-rw-r--r--install/ui/Makefile.am45
-rw-r--r--install/ui/build/Makefile.am16
-rw-r--r--install/ui/build/dojo/Makefile.am14
-rw-r--r--install/ui/build/freeipa/Makefile.am17
-rw-r--r--install/ui/src/Makefile.am15
-rw-r--r--install/ui/src/libs/Makefile.am19
7 files changed, 90 insertions, 41 deletions
diff --git a/install/configure.ac b/install/configure.ac
index 05ec8579..27e88beb 100644
--- a/install/configure.ac
+++ b/install/configure.ac
@@ -87,7 +87,12 @@ AC_CONFIG_FILES([
share/Makefile
ui/Makefile
ui/ext/Makefile
+ ui/src/Makefile
+ ui/src/libs/Makefile
ui/images/Makefile
+ ui/build/Makefile
+ ui/build/dojo/Makefile
+ ui/build/freeipa/Makefile
tools/Makefile
tools/man/Makefile
updates/Makefile
diff --git a/install/ui/Makefile.am b/install/ui/Makefile.am
index 1dc32160..e3276741 100644
--- a/install/ui/Makefile.am
+++ b/install/ui/Makefile.am
@@ -3,48 +3,23 @@ AUTOMAKE_OPTIONS = 1.7
NULL =
SUBDIRS = \
+ build \
ext \
images \
+ src \
$(NULL)
appdir = $(IPA_DATA_DIR)/ui
app_DATA = \
- aci.js \
- add.js \
- association.js \
- automember.js \
- automount.js \
- browser.js \
- certificate.js \
- details.js \
- dialog.js \
- dns.js \
- entitle.js \
- entity.js \
- facet.js \
+ config.js \
favicon.ico \
- field.js \
- group.js \
- hbac.js \
- hbactest.js \
- host.js \
- hostgroup.js \
index.html \
+ jquery-ui.css \
ie.css \
ipa.css \
- ipa.js \
- jquery-ui.css \
- jquery-ui.js \
- jquery.ba-bbq.js \
- jquery.js \
- jquery.ordered-map.js \
- json2.js \
login.html \
login.js \
logout.html \
- navigation.js \
- net.js \
- netgroup.js \
overpass_bold-web.eot \
overpass_bold-web.svg \
overpass_bold-web.ttf \
@@ -53,20 +28,8 @@ app_DATA = \
overpass_regular-web.svg \
overpass_regular-web.ttf \
overpass_regular-web.woff \
- policy.js \
- idrange.js \
reset_password.js \
reset_password.html \
- rule.js \
- search.js \
- selinux.js \
- serverconfig.js \
- service.js \
- sudo.js \
- trust.js \
- user.js \
- webui.js \
- widget.js \
$(NULL)
EXTRA_DIST = \
diff --git a/install/ui/build/Makefile.am b/install/ui/build/Makefile.am
new file mode 100644
index 00000000..0787e7f2
--- /dev/null
+++ b/install/ui/build/Makefile.am
@@ -0,0 +1,16 @@
+AUTOMAKE_OPTIONS = 1.7
+
+NULL =
+
+SUBDIRS = \
+ dojo \
+ freeipa \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+ $(NULL)
diff --git a/install/ui/build/dojo/Makefile.am b/install/ui/build/dojo/Makefile.am
new file mode 100644
index 00000000..666a49af
--- /dev/null
+++ b/install/ui/build/dojo/Makefile.am
@@ -0,0 +1,14 @@
+NULL =
+
+appdir = $(IPA_DATA_DIR)/ui/js/dojo
+app_DATA = \
+ dojo.js \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(app_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
diff --git a/install/ui/build/freeipa/Makefile.am b/install/ui/build/freeipa/Makefile.am
new file mode 100644
index 00000000..4d80bdfe
--- /dev/null
+++ b/install/ui/build/freeipa/Makefile.am
@@ -0,0 +1,17 @@
+NULL =
+
+appdir = $(IPA_DATA_DIR)/ui/js/freeipa
+app_DATA = \
+ app.js \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(app_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+
+app.js:
+ ../../util/make-ui.sh
diff --git a/install/ui/src/Makefile.am b/install/ui/src/Makefile.am
new file mode 100644
index 00000000..c81f888d
--- /dev/null
+++ b/install/ui/src/Makefile.am
@@ -0,0 +1,15 @@
+AUTOMAKE_OPTIONS = 1.7
+
+NULL =
+
+SUBDIRS = \
+ libs \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in
+ $(NULL)
diff --git a/install/ui/src/libs/Makefile.am b/install/ui/src/libs/Makefile.am
new file mode 100644
index 00000000..20d90854
--- /dev/null
+++ b/install/ui/src/libs/Makefile.am
@@ -0,0 +1,19 @@
+NULL =
+
+appdir = $(IPA_DATA_DIR)/ui/js/libs
+app_DATA = \
+ browser.js \
+ jquery.ba-bbq.js \
+ jquery.js \
+ jquery.ordered-map.js \
+ jquery-ui.js \
+ json2.js \
+ $(NULL)
+
+EXTRA_DIST = \
+ $(app_DATA) \
+ $(NULL)
+
+MAINTAINERCLEANFILES = \
+ *~ \
+ Makefile.in