Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Tobias Leibner
dune-common
Commits
5e49d8e6
Commit
5e49d8e6
authored
16 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
* support different ways to destinguish tarballs and vc
* default version number [[Imported from SVN: r5209]]
parent
14a460e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/dunecontrol
+8
-2
8 additions, 2 deletions
bin/dunecontrol
with
8 additions
and
2 deletions
bin/dunecontrol
+
8
−
2
View file @
5e49d8e6
...
...
@@ -255,7 +255,7 @@ run_default_update () {
run_default_autogen
()
{
PARAMS
=
"
$CMD_PARAMS
"
local
M4_PATH
=
""
if
test
-
x
autogen.sh
;
then
if
test
-
d
.svn
||
test
-d
.git
||
test
-d
CVS
||
test
-f
stamp-vc
;
then
for
m
in
$FOUND_MODULES
;
do
path
=
$(
eval
"echo
\$
PATH_
$m
"
)
MODULE_PATHS
=
"
$MODULE_PATHS$path
"
...
...
@@ -265,8 +265,9 @@ run_default_autogen () {
>
&2
echo
" dune-autogen is used instead."
>
&2
fi
# eval ./autogen.sh "$M4_PATH" "$PARAMS" || exit 1
eval
"
$COMMAND_DIR
/dune-autogen"
"
$MODULE_PATHS
"
"
$PARAMS
"
||
exit
1
else
echo
Skipping dune-autogen
fi
}
...
...
@@ -312,10 +313,13 @@ run_default_make () {
}
run_default_all
()
{
eval echo
"--- calling autogen for
\$
NAME_
${
module
}
---"
load_opts autogen
run_autogen
eval echo
"--- calling configure for
\$
NAME_
${
module
}
---"
load_opts configure
run_configure
eval echo
"--- calling make for
\$
NAME_
${
module
}
---"
load_opts make
run_make
}
...
...
@@ -556,6 +560,8 @@ case "$command" in
name
=
`
eval echo
\\
${
NAME_$mainmod
}
`
version
=
`
eval echo
\\
${
VERS_$mainmod
}
`
maintainer
=
`
eval echo
\\
${
MAIN_$mainmod
}
`
# ensure a version number
if
test
"x
$version
"
=
"x"
;
then
version
=
"0.0"
;
fi
echo
"writing
$fname
"
echo
" for
$name
$version
$maintainer
"
cat
>
$fname
<<
EOF
...
...
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