Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
bee308ac
Commit
bee308ac
authored
Aug 23, 2011
by
Georgi Chorbadzhiyski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define VERSION_EXTRA using git describe in the Makefile.
parent
fd08fbd8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
Makefile
Makefile
+6
-0
dvblast.c
dvblast.c
+1
-1
dvblastctl.c
dvblastctl.c
+1
-1
version.h
version.h
+0
-1
No files found.
Makefile
View file @
bee308ac
...
@@ -3,9 +3,15 @@
...
@@ -3,9 +3,15 @@
VERSION
=
2.0.0
VERSION
=
2.0.0
TOPDIR
=
`
basename
${PWD}
`
TOPDIR
=
`
basename
${PWD}
`
GIT_VER
=
$(
shell
git describe
--tags
--dirty
--always
2>/dev/null
)
CFLAGS
+=
-Wall
-Wformat-security
-O3
-fomit-frame-pointer
CFLAGS
+=
-Wall
-Wformat-security
-O3
-fomit-frame-pointer
CFLAGS
+=
-g
CFLAGS
+=
-g
ifneq
"$(GIT_VER)" ""
CFLAGS
+=
-DVERSION_EXTRA
=
\"
git-
$(GIT_VER)
\"
else
CFLAGS
+=
-DVERSION_EXTRA
=
\"
release
\"
endif
LDLIBS
+=
-lrt
LDLIBS
+=
-lrt
LDLIBS_DVBLAST
+=
-lpthread
LDLIBS_DVBLAST
+=
-lpthread
...
...
dvblast.c
View file @
bee308ac
...
@@ -396,7 +396,7 @@ static void SigHandler( int i_signal )
...
@@ -396,7 +396,7 @@ static void SigHandler( int i_signal )
*****************************************************************************/
*****************************************************************************/
static
void
DisplayVersion
()
static
void
DisplayVersion
()
{
{
msg_Raw
(
NULL
,
"DVBlast %d.%d.%d
%s
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
msg_Raw
(
NULL
,
"DVBlast %d.%d.%d
(%s)
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
VERSION_REVISION
,
VERSION_EXTRA
);
VERSION_REVISION
,
VERSION_EXTRA
);
}
}
...
...
dvblastctl.c
View file @
bee308ac
...
@@ -47,7 +47,7 @@ int i_syslog = 0;
...
@@ -47,7 +47,7 @@ int i_syslog = 0;
void
usage
()
void
usage
()
{
{
msg_Raw
(
NULL
,
"DVBlastctl %d.%d.%d
%s
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
msg_Raw
(
NULL
,
"DVBlastctl %d.%d.%d
(%s)
"
,
VERSION_MAJOR
,
VERSION_MINOR
,
VERSION_REVISION
,
VERSION_EXTRA
);
VERSION_REVISION
,
VERSION_EXTRA
);
msg_Raw
(
NULL
,
"Usage: dvblastctl -r <remote socket> reload|shutdown|fe_status|mmi_status|mmi_open|mmi_close|mmi_get|mmi_send_text|mmi_send_choice [<CAM slot>] [<text/choice>]"
);
msg_Raw
(
NULL
,
"Usage: dvblastctl -r <remote socket> reload|shutdown|fe_status|mmi_status|mmi_open|mmi_close|mmi_get|mmi_send_text|mmi_send_choice [<CAM slot>] [<text/choice>]"
);
exit
(
1
);
exit
(
1
);
...
...
version.h
View file @
bee308ac
...
@@ -24,4 +24,3 @@
...
@@ -24,4 +24,3 @@
#define VERSION_MAJOR 2
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_MINOR 0
#define VERSION_REVISION 0
#define VERSION_REVISION 0
#define VERSION_EXTRA "-svn"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment