Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
vlc
Commits
eac4e0c9
Commit
eac4e0c9
authored
Jan 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the GIT revision properly
parent
68a19d04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
src/Makefile.am
src/Makefile.am
+14
-6
No files found.
src/Makefile.am
View file @
eac4e0c9
...
...
@@ -13,7 +13,7 @@ EXTRA_DIST = extras/COPYING modules/builtin.h.in \
libvlc.sym
\
libvlccore.sym
BUILT_SOURCES
=
modules/builtin.h
misc/revision.c
../include/vlc_about.h
BUILT_SOURCES
=
modules/builtin.h ../include/vlc_about.h
CLEANFILES
=
$(BUILT_SOURCES)
SUFFIXES
=
.pc.in .pc
...
...
@@ -468,13 +468,21 @@ SOURCES_libvlc_control = \
# Stamp rules
###############################################################################
misc/revision.c.tmp
:
rm
-f
--
$@
echo
"/* AUTOGENERATED FILE - DO NOT EDIT */"
>
$@
REVISION
=
"
$$
(cd "
$(top_srcdir)
"; git describe 2>/dev/null || echo "
$(VERSION)
")"
;
\
echo
"const char psz_vlc_changeset[] =
\"
$$
REVISION
\"
;"
>>
$@
diff
$@
misc/revision.c
>
/dev/null 2>&1
||
\
cat
misc/revision.c.tmp
>
misc/revision.c
misc/revision.c
:
rm
-f
--
$@
$@
.tmp
echo
"/* AUTOGENERATED FILE - DO NOT EDIT */"
>
$@
.tmp
REVISION
=
"
$$
(cd "
$(top_srcdir)
"; git describe 2>/dev/null || echo exported)"
;
\
echo
"const char psz_vlc_changeset[] =
\"
$$
REVISION
\"
;"
>>
$@
.tmp
mv
-f
--
$@
.tmp
$@
$(MAKE)
misc/revision.c.tmp
cat
misc/revision.c.tmp
>
misc/revision.c
BUILT_SOURCES
+=
misc/revision.c.tmp misc/revision.c
.PHONY
:
misc/revision.c.tmp
###############################################################################
# Unit/regression test
...
...
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