Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pespccdstage
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
pespccdstage
Commits
9cc8254d
Commit
9cc8254d
authored
3 years ago
by
Alessandro Abrami
Browse files
Options
Downloads
Patches
Plain Diff
2021/10/15:
Aggiornato RELEASE/REPO
parent
55d7a5a1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Make-Release.in
+16
-0
16 additions, 0 deletions
Make-Release.in
Makefile
+4
-6
4 additions, 6 deletions
Makefile
with
20 additions
and
6 deletions
Make-Release.in
0 → 100644
+
16
−
0
View file @
9cc8254d
RELEASE := GIT:: $(shell git describe --dirty)
CXXFLAGS += -D'RELEASE="$(RELEASE)"'
REPO := GIT:: $(shell git config --get remote.origin.url)
LOC_REPO := GIT:: $(shell git rev-parse --show-toplevel)
CXXFLAGS += -D'REPO="$(LOC_REPO)"'
SUBMODULES +=
REL_SRCS_0 += $(shell find . -name "*.cpp" -exec grep -l -e RELEASE -e REPO -e SUBMODULES {} \;)
REL_SRCS += $(subst ./,, $(REL_SRCS_0))
REL_OBJS += $(addprefix obj/,$(notdir $(REL_SRCS:.cpp=.o)))
.PHONY: tags_clean
tags_clean:
@rm -f $(REL_OBJS)
This diff is collapsed.
Click to expand it.
Makefile
+
4
−
6
View file @
9cc8254d
NAME_SRV
=
pespccdstage-srv
all
:
tags_clean bin/$(NAME_SRV)
CXXFLAGS
=
LDFLAGS
=
-litpp
...
...
@@ -71,17 +73,13 @@ else
CXXFLAGS
+=
-I
/runtime/include/libaxisutils
endif
RELEASE
:=
GIT::
$(
shell git describe
--dirty
)
CXXFLAGS
+=
-D
'RELEASE="
$(
RELEASE
)
"'
REPO
:=
GIT::
$(
shell git config
--get
remote.origin.url
)
LOC_REPO
:=
GIT::
$(
shell git rev-parse
--show-toplevel
)
CXXFLAGS
+=
-D
'REPO="
$(
LOC_REPO
)
"'
include
Make-libhist.in
OBJ_FILES
+=
$(
EXTRA_OBJS
)
include
../makefiles/Make-9.3.3.in
include
Make-Release.in
LDFLAGS
+=
-laxisutils
ifeq
($(HAVE_SAFETYMANGER), yes)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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