Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
37a24150
Commit
37a24150
authored
21 years ago
by
LOFAR
Browse files
Options
Downloads
Patches
Plain Diff
%[ER:70 ]%
install target added
parent
e8c60f0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+35
-0
35 additions, 0 deletions
Makefile
with
35 additions
and
0 deletions
Makefile
+
35
−
0
View file @
37a24150
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment