Makefile revision 6458
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# CDDL HEADER START
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# The contents of this file are subject to the terms of the
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Common Development and Distribution License (the "License").
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# You may not use this file except in compliance with the License.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# See the License for the specific language governing permissions
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# and limitations under the License.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2e8694f4dbca868c8ded2b957e6148560da7658cAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# CDDL HEADER END
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:c51029340c953a7355c48a106eb93407287b26f01bed6a64de695d4bda361c07
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_PROJECT_URL= http://www.openstack.org/
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsNUM_EXTRA_ARCHIVES= 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# Starting with Juno, Horizon depends on a number of XStatic modules
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# to deliver the required JavaScript modules. This delivery method
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# may be changing in future releases, so the XStatic modules for now
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# are built as part of Horizon rather than being stand alone
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# components/packages. The NUM_EXTRA_ARCHIVES parameter should
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# enumerate the numbers of all the extra XStatic archives to be
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# included in the Horizon build.
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# XStatic itself is only used during the build process and so while it
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# is downloaded and installed in the proto area, none of its
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# components are delivered in the Horizon package itself.
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:0ec93d7c66ebb9e0d31b664753437dc8634cb66e13310cb47c9eb1e0bc66d726
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_2 = XStatic-Angular-$(VERSION_ANGULAR)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:7cad216b226399cbe8d2909ed5b9f28d724907b9c9e1e078e6e25d320a3d5dd7
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_ANGULAR=$(VERSION_ANGULAR)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_3 = XStatic-Bootstrap-Datepicker-$(VERSION_BOOTSTRAP_DP)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:9edc9b77501001fcee9fbf4bf0a722c263efd928ef928b40081a8269fdd9a944
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_BOOTSTRAP_DP=$(VERSION_BOOTSTRAP_DP)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_4 = XStatic-Bootstrap-SCSS-$(VERSION_BOOTSTRAP_SCSS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:7e9858737e2e6aac921ec7a3fca627e522901c3061611e154ebc0b8a892c7018
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_BOOTSTRAP_SCSS=$(VERSION_BOOTSTRAP_SCSS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:46fe521f8dad99f5e20f6702180510c37b81d11f1d78119d308fcec31381f90e
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_6 = XStatic-Font-Awesome-$(VERSION_FONT_AWESOME)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:d2c0548990a22744ad20013e1d095de8ba1ea56b1878d8393a721205b03885c3
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_FONT_AWESOME=$(VERSION_FONT_AWESOME)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_7 = XStatic-Hogan-$(VERSION_HOGAN)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:5941bc7fb2a09916b8837848e6fc2a13b2dfc271811e9b522c61e1337d5fc2bd
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_8 = XStatic-jQuery-$(VERSION_JQUERY)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:83416a6bb86e8534858c4d1ddca45e881c87639da6f78000c28c3a193fe91305
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_9 = XStatic-JQuery-Migrate-$(VERSION_JQUERY_MIGRATE)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:e2959b3df49afdddb00d36b74cca727a91b994b9f4edb993d7264731a750900e
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_JQUERY_MIGRATE=$(VERSION_JQUERY_MIGRATE)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_10 = XStatic-jquery-ui-$(VERSION_JQUERY_UI)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_10 = $(COMPONENT_SRC_10).tar.gz
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:099b1836eb0d91b8dc98f5b8a6b856a2631d43af0d47f33ef90ee72ed37bda58
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_JQUERY_UI=$(VERSION_JQUERY_UI)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_11 = XStatic-JQuery.quicksearch-$(VERSION_JQUERY_QS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_11 = $(COMPONENT_SRC_11).tar.gz
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:1271571b420417add56c274fd935e81bfc79e0d54a03559d6ba5ef369f358477
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_JQUERY_QS=$(VERSION_JQUERY_QS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_12 = XStatic-JQuery.TableSorter-$(VERSION_JQUERY_TS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_12 = $(COMPONENT_SRC_12).tar.gz
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:3ba24aecd9a3dc71a79dd4096fa5a8a041c3a7b892c61d05e6e46de0605070f0
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_JQUERY_TS=$(VERSION_JQUERY_TS)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_13 = XStatic-JSEncrypt-$(VERSION_JSENCRYPT)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_13 = $(COMPONENT_SRC_13).tar.gz
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:5852892afc6f80c7848f4110b6dad190a54aeb908271d67aaeae9d966f4a26b5
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsPKG_MACROS += VERSION_JSENCRYPT=$(VERSION_JSENCRYPT)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_SRC_14 = XStatic-Rickshaw-$(VERSION_RICKSHAW)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsCOMPONENT_ARCHIVE_14 = $(COMPONENT_SRC_14).tar.gz
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews sha256:147574228757254442700a9eea5150f14acb1224ef0612f896b663ab58406de8
19ae9cbb28abf57c2605cbedaa6a7201a0cb6572Mark AndrewsPKG_MACROS += VERSION_RICKSHAW=$(VERSION_RICKSHAW)
19ae9cbb28abf57c2605cbedaa6a7201a0cb6572Mark AndrewsCOMPONENT_ARCHIVE_15 = $(COMPONENT_SRC_15).tar.gz
19ae9cbb28abf57c2605cbedaa6a7201a0cb6572Mark Andrews sha256:7f46ef0e45e047019ba6eda22c432fb96f681b97bbe7f1749aa9209e07727192
collectstatic --noinput; \
# Patch openstack_dashboard/settings.py to remove the xstatic imports
# (manage.py) requires the packages be "installed". Rather than
cd $$xs_archive; \
--force \
test: $(NO_TESTS)
clean::
-exec rm -r {} \;
# Includes packages required by Django's manage.py during the Horizon build