Permalink
Browse files

Renamed store_tab to extensions. Trying to avoid needless recompilation.

  • Loading branch information...
1 parent 9b51b84 commit 01f477b59f128f6a23dd6fc66317af984d54c16c graziano committed Aug 26, 2009
Showing with 2,251 additions and 5,975 deletions.
  1. +1 −1 Makedefs.in
  2. +5 −3 clc/Makefile
  3. +2,242 −5,968 configure
  4. +3 −3 configure.ac
View
@@ -47,4 +47,4 @@ JAVA_HOME = @JAVA_HOME@
# compile time configurations
euca_theme = @INTERFACE_THEME@
-store_tab = @STORE@
+extensions = @EXTENSIONS@
View
@@ -10,6 +10,9 @@ all: build
deps:
$(ANT) deps
+update_properties:
+ @sed -i "s/\(^extensions =\).*/\1 ${extensions}/" ${TOP}/clc/modules/www/conf/eucalyptus-web.properties
+
themes:
@if test -n ${euca_theme} ; then \
if test -d ${theme_dir}/${euca_theme} ; then \
@@ -18,9 +21,8 @@ themes:
else \
echo "Theme ${euca_theme} does not exists!"; exit 1;\
fi; fi
- @if test ${store_tab} = "Y" ; then \
- sed -i "s/\(^extensions =\).*/\1 store/" ${TOP}/clc/modules/www/conf/eucalyptus-web.properties ; else \
- sed -i "s/\(^extensions =\).*/\1/" ${TOP}/clc/modules/www/conf/eucalyptus-web.properties; fi
+ @
+ @if test "`grep '^extensions' ${TOP}/clc/modules/www/conf/eucalyptus-web.properties | sed 's/extensions =[[:blank:]]*//'` != '${extensions}'" > /dev/null ; then $(MAKE) update_properties; fi
build: themes
@# we need JAVA_HOME
Oops, something went wrong.

0 comments on commit 01f477b

Please sign in to comment.