Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
core
tarantool
Commits
e8565a0d
Commit
e8565a0d
authored
14 years ago
by
Yuriy Vostrikov
Browse files
Options
Downloads
Patches
Plain Diff
[core] make all now outputing help, add make_release.sh
parent
d5f4991c
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+17
-3
17 additions, 3 deletions
Makefile
scripts/make_release.sh
+12
-0
12 additions, 0 deletions
scripts/make_release.sh
with
29 additions
and
3 deletions
Makefile
+
17
−
3
View file @
e8565a0d
...
...
@@ -28,17 +28,27 @@ endif
endif
# this global rules are always defined
module
?=
silverbox
ifeq
(,$(module))
all
:
@
echo
"Valid targets are:"
@
echo
" _release_box/tarantool_silverbox"
@
echo
" _release_feeder/tarantool_feeder"
@
echo
" _debug_box/tarantool_silverbox"
@
echo
" _debug_feeder/tarantool_feeder"
@
echo
" clean"
else
all
:
tarantool_$(module)
endif
ifeq
("$(origin module)", "command line")
.PHONY
:
clean
clean
:
@
echo
" CLEAN
$(
module
)
"
@
rm
-rf
$(
obj
)
$(
dep
)
tarantool_
$(
module
)
_
*
lcov
test
else
.PHONY
:
clean
clean
:
@
for
mod
in
mod/
*
;
do
make
--no-print-directory
module
=
`
basename
$$
mod
`
clean
;
done
@
for
mod
in
mod/
*
;
do
$(
MAKE
)
--no-print-directory
module
=
`
basename
$$
mod
`
clean
;
done
endif
.PHONY
:
TAGS
tags
:
...
...
@@ -64,7 +74,11 @@ endif
CFLAGS
+=
-I
$(
SRCDIR
)
-I
$(
SRCDIR
)
/include
LIBS
+=
-lm
subdirs
=
third_party mod/
$(
module
)
cfg core
subdirs
+=
third_party
ifneq
(,$(module))
subdirs
+=
mod/
$(
module
)
endif
subdirs
+=
cfg core
include
$(foreach dir,$(subdirs),$(SRCDIR)/$(dir)/Makefile)
tarantool_$(module)
:
$(obj)
...
...
This diff is collapsed.
Click to expand it.
scripts/make_release.sh
0 → 100755
+
12
−
0
View file @
e8565a0d
#!/bin/bash
set
-e
shopt
-s
extglob
read
-p
"Enter revision: "
ver
git clone
.
../tarantool-
$ver
rm
-rf
../tarantool-
$ver
/.git
echo
HAVE_GIT
=
0
>
../tarantool-
$ver
/config.mk
echo
"const char tarantool_version_string[] =
\"
$ver
\"
;"
>
../tarantool-
$ver
/tarantool_version.h
(
cd
..
;
tar
zcvf tarantool-
$ver
.tar.gz tarantool-
$ver
)
git tag
$ver
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