Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Renamed store_tab to extensions. Trying to avoid needless recompilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
graziano committed Aug 26, 2009
1 parent 9b51b84 commit 01f477b
Show file tree
Hide file tree
Showing 4 changed files with 2,251 additions and 5,975 deletions.
2 changes: 1 addition & 1 deletion Makedefs.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ JAVA_HOME = @JAVA_HOME@

# compile time configurations
euca_theme = @INTERFACE_THEME@
store_tab = @STORE@
extensions = @EXTENSIONS@
8 changes: 5 additions & 3 deletions clc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down
Loading

0 comments on commit 01f477b

Please sign in to comment.