LP#1392759 wheezy/precise developer/package targets user/berick/lp1392759-dev-pack-install-targets-test
authorBill Erickson <berickxx@gmail.com>
Tue, 2 Dec 2014 20:42:22 +0000 (15:42 -0500)
committerBill Erickson <berickxx@gmail.com>
Tue, 2 Dec 2014 20:42:24 +0000 (15:42 -0500)
Unlike Jessie and Trusty, the browser client targets are only installed
if an additional environment variable BROWSER_CLIENT_DEPS=1 is set,
since they require a source build of nodejs, which takes a while and is
only needed when buildilng the (currently only in preview) browser
client.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/extras/Makefile.install
Open-ILS/src/extras/install/Makefile.debian-wheezy
Open-ILS/src/extras/install/Makefile.ubuntu-precise

index 7d18d03..a0c0955 100644 (file)
@@ -95,10 +95,18 @@ ubuntu-trusty-developer:
        @make -f $(DIR)/Makefile.ubuntu-trusty install_developer
 debian-jessie-developer:
        @make -f $(DIR)/Makefile.debian-jessie install_developer
+ubuntu-precise-developer:
+       @make -f $(DIR)/Makefile.ubuntu-precise install_developer
+debian-wheezy-developer:
+       @make -f $(DIR)/Makefile.debian-wheezy install_developer
 
 ubuntu-trusty-packager:
        @make -f $(DIR)/Makefile.ubuntu-trusty install_packager
 debian-jessie-packager:
        @make -f $(DIR)/Makefile.debian-jessie install_packager
+ubuntu-precise-packager:
+       @make -f $(DIR)/Makefile.ubuntu-precise install_packager
+debian-wheezy-packager:
+       @make -f $(DIR)/Makefile.debian-wheezy install_packager
 
 # vim:noet:sw=4:ts=4:
index fb5b41a..6109d39 100644 (file)
@@ -93,6 +93,23 @@ PGSQL_SERVER_DEBS_91 = \
        postgresql-plperl-9.1 \
        postgresql-server-dev-9.1
 
+DEVELOPER_DEBS = \
+       autoconf \
+       automake \
+       libtool
+
+PACKAGER_DEBS = \
+       translate-toolkit \
+       python-dev \
+       python-levenshtein \
+       python-polib \
+       python-setuptools \
+       python-simplejson \
+       python-lxml \
+       zip \
+       unzip \
+       nsis
+
 all:
        make -f $(DIR)/Makefile.debian install_debs
        make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
@@ -105,6 +122,24 @@ all:
 install_postgres_server:
        make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
 
+# browser client deps are only installed of BROWSER_CLIENT_DEPS=1
+# is set, since it requires a source install of nodejs.
+install_developer:
+       make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
+       if [ -n "$(BROWSER_CLIENT_DEPS)" ]; then \
+               cd /tmp && \
+               git clone https://github.com/joyent/node.git && \
+               cd node && \
+               git checkout -b v0.10.28 v0.10.28 && \
+               ./configure && make && make install && \
+               npm update && \
+               npm install -g grunt-cli && \
+               npm install -g bower; \
+       fi;
+
+install_packager:
+       make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
 clean:
        make -f $(DIR)/Makefile.common clean
        make -f $(DIR)/Makefile.debian clean
index d62655f..d9194b8 100644 (file)
@@ -97,6 +97,23 @@ PGSQL_SERVER_DEBS_91 = \
        postgresql-plperl-9.1 \
        postgresql-server-dev-9.1
 
+DEVELOPER_DEBS = \
+       autoconf \
+       automake \
+       libtool
+
+PACKAGER_DEBS = \
+       translate-toolkit \
+       python-dev \
+       python-levenshtein \
+       python-polib \
+       python-setuptools \
+       python-simplejson \
+       python-lxml \
+       zip \
+       unzip \
+       nsis
+
 all:
        make -f $(DIR)/Makefile.debian install_debs
        make -f $(DIR)/Makefile.debian test_for_libdbi_pkg
@@ -108,6 +125,24 @@ all:
 install_postgres_server:
        make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_91)"
 
+# browser client deps are only installed of BROWSER_CLIENT_DEPS=1
+# is set, since it requires a source install of nodejs.
+install_developer:
+       make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
+       if [ -n "$(BROWSER_CLIENT_DEPS)" ]; then \
+               cd /tmp && \
+               git clone https://github.com/joyent/node.git && \
+               cd node && \
+               git checkout -b v0.10.28 v0.10.28 && \
+               ./configure && make && make install && \
+               npm update && \
+               npm install -g grunt-cli && \
+               npm install -g bower; \
+       fi;
+
+install_packager:
+       make -f $(DIR)/Makefile.debian DEBS="$(PACKAGER_DEBS)"
+
 clean:
        make -f $(DIR)/Makefile.common clean
        make -f $(DIR)/Makefile.debian clean