Skip to content
Snippets Groups Projects
Commit 37a24150 authored by LOFAR's avatar LOFAR
Browse files

%[ER:70 ]%

install target added
parent e8c60f0e
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,11 @@ weekly: start_weekly bootstrap configure $(VARIANTNAMES) check stop_weekly
#
build: start_build $(VARIANTNAMES:.variant=.variant_build) stop_build
#
# install: Target to install a buildtree
#
install: start_install $(VARIANTNAMES:.variant=.variant_install) stop_install
#
# rebuild: Target to compile from scratch in a bootstrapped and configured tree
#
......@@ -103,6 +108,9 @@ rebuild: start_rebuild $(VARIANTNAMES:.variant=.variant_rebuild) stop_rebuild
start_build:
@echo && echo ":::::: BUILD START" && echo
start_install:
@echo && echo ":::::: INSTALL START" && echo
start_rebuild:
@echo && echo ":::::: REBUILD START" && echo
......@@ -115,6 +123,9 @@ start_weekly:
stop_build:
@echo && echo ":::::: BUILD COMPLETE" && echo
stop_install:
@echo && echo ":::::: INSTALL COMPLETE" && echo
stop_rebuild:
@echo && echo ":::::: REBUILD COMPLETE" && echo
......@@ -241,6 +252,30 @@ configure: $(VARIANTNAMES:.variant=.variant_configure)
done; \
date
#
# Rule to install build
#
%.variant_install:
@date; \
variant=`basename $@ .variant_install`; \
for pkg in $(PACKAGES); do \
if test -d $$pkg; then \
( echo \
&& echo ":::::: INSTALLING VARIANT $$variant FOR PACKAGE $$pkg" \
&& echo \
&& date \
&& (( cd $$pkg/build/$$variant \
&& make install ) \
|| echo ":::::: ERROR" ) \
&& echo \
&& echo ":::::: FINISHED INSTALLING VARIANT $$variant FOR PACKAGE $$pkg" \
&& echo ; ) \
else \
echo ":::::: ERROR $$pkg does not exist"; \
fi\
done; \
date
#
# Rule to rebuild variant
# - Clean variant
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment