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
a76e38e1
Commit
a76e38e1
authored
Feb 23, 2009
by
Rémi Denis-Courmont
Committed by
Rémi Denis-Courmont
Jun 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create revision.c
parent
9f2fb762
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
src/Makefile.am
src/Makefile.am
+23
-0
No files found.
src/Makefile.am
View file @
a76e38e1
...
@@ -161,6 +161,7 @@ AM_LDFLAGS += -avoid-version
...
@@ -161,6 +161,7 @@ AM_LDFLAGS += -avoid-version
endif
endif
libvlccore_la_SOURCES
=
$(SOURCES_libvlc)
libvlccore_la_SOURCES
=
$(SOURCES_libvlc)
nodist_libvlccore_la_SOURCES
=
revision.c
libvlccore_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlccore
`
\
libvlccore_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlccore
`
\
-DMODULE_STRING
=
\"
main
\"
\
-DMODULE_STRING
=
\"
main
\"
\
-DLOCALEDIR
=
\"
$(localedir)
\"
\
-DLOCALEDIR
=
\"
$(localedir)
\"
\
...
@@ -468,6 +469,28 @@ SOURCES_libvlc_control = \
...
@@ -468,6 +469,28 @@ SOURCES_libvlc_control = \
control/mediacontrol_audio_video.c
\
control/mediacontrol_audio_video.c
\
control/media_discoverer.c
control/media_discoverer.c
###############################################################################
# GIT revision
###############################################################################
BUILT_SOURCES
+=
stamp-revision
CLEANFILES
+=
revision.txt revision.c
revision.c
:
revision.txt
rm
-f
--
revision.c
echo
-n
"const char psz_vlc_changeset[] =
\"
$$
(cat revision.txt)
\"
;"
\
>
revision.c
revision.txt
:
$(MAKE)
stamp-revision
touch
revision.txt
stamp-revision
:
rm
-f
--
revision.tmp
git describe
--tags
--long
--always
>
revision.tmp
diff revision.tmp revision.txt
>
/dev/null 2>&1
||
\
mv
-f
--
revision.tmp revision.txt
###############################################################################
###############################################################################
# Unit/regression test
# 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