Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
14278bdf
Commit
14278bdf
authored
Aug 17, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep revision.c in source tarballs
parent
55fcca5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
src/Makefile.am
src/Makefile.am
+18
-14
No files found.
src/Makefile.am
View file @
14278bdf
...
@@ -11,6 +11,7 @@ EXTRA_DIST = \
...
@@ -11,6 +11,7 @@ EXTRA_DIST = \
vlc-plugin.pc.in
\
vlc-plugin.pc.in
\
libvlc.sym
\
libvlc.sym
\
libvlccore.sym
\
libvlccore.sym
\
revision.txt
\
../include/vlc/libvlc_version.h.in
../include/vlc/libvlc_version.h.in
BUILT_SOURCES
=
\
BUILT_SOURCES
=
\
...
@@ -198,7 +199,6 @@ AM_LDFLAGS += -avoid-version
...
@@ -198,7 +199,6 @@ 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)
\"
\
...
@@ -221,7 +221,6 @@ libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc
...
@@ -221,7 +221,6 @@ libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc
$(WINDRES)
--include-dir
$(top_srcdir)
/share
-i
$<
-o
$@
$(WINDRES)
--include-dir
$(top_srcdir)
/share
-i
$<
-o
$@
libvlc_la_SOURCES
=
$(SOURCES_libvlc_control)
libvlc_la_SOURCES
=
$(SOURCES_libvlc_control)
nodist_libvlc_la_SOURCES
=
revision.c
libvlc_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
\
libvlc_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
\
libvlccore.la ../compat/libcompat.la
libvlccore.la ../compat/libcompat.la
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
...
@@ -323,6 +322,7 @@ SOURCES_libvlc_common = \
...
@@ -323,6 +322,7 @@ SOURCES_libvlc_common = \
libvlc.h
\
libvlc.h
\
libvlc-module.c
\
libvlc-module.c
\
missing.c
\
missing.c
\
revision.c
\
version.c
\
version.c
\
interface/dialog.c
\
interface/dialog.c
\
interface/interface.c
\
interface/interface.c
\
...
@@ -506,6 +506,7 @@ SOURCES_libvlc = \
...
@@ -506,6 +506,7 @@ SOURCES_libvlc = \
$(NULL)
$(NULL)
SOURCES_libvlc_control
=
\
SOURCES_libvlc_control
=
\
revision.c
\
control/libvlc_internal.h
\
control/libvlc_internal.h
\
control/event_internal.h
\
control/event_internal.h
\
control/media_internal.h
\
control/media_internal.h
\
...
@@ -546,26 +547,29 @@ libvlcpulse_la_LDFLAGS = -export-symbols-regex ^vlc_pa_ -no-undefined
...
@@ -546,26 +547,29 @@ libvlcpulse_la_LDFLAGS = -export-symbols-regex ^vlc_pa_ -no-undefined
###############################################################################
###############################################################################
BUILT_SOURCES
+=
stamp-revision
BUILT_SOURCES
+=
stamp-revision
CLEANFILES
+=
revision.txt revision.c
revision.c
:
revision.txt
$(srcdir)/revision.c
:
$(srcdir)/
revision.txt
$(AM_V_at)
rm
-f
--
revision.c
$(AM_V_at)
rm
-f
--
$@
$(AM_V_GEN)
echo
"const char psz_vlc_changeset[] =
\"
$$
(cat
revision.txt
)
\"
;"
\
$(AM_V_GEN)
echo
"const char psz_vlc_changeset[] =
\"
$$
(cat
$<
)
\"
;"
\
>
revision.c
>
$@
revision.txt
:
Makefile.am
$(srcdir)/revision.txt
:
$(AM_V_at)$(MAKE)
stamp-revision
$(AM_V_at)$(MAKE)
stamp-revision
$(AM_V_GEN)
touch
revision.txt
$(AM_V_GEN)
touch
$@
stamp-revision
:
stamp-revision
:
$(AM_V_at)
rm
-f
--
revision.tmp
$(AM_V_at)
rm
-f
--
revision.tmp
$(AM_V_GEN)
(
git
--git-dir
=
"
$(top_srcdir)
/.git/"
describe
--tags
--long
\
$(AM_V_GEN)
if
!
git
\
--match
'?.*.*'
--always
||
echo
exported
)
>
revision.tmp
--git-dir
=
"
$(top_srcdir)
/.git/"
describe
\
$(AM_V_at)
if
diff revision.tmp revision.txt
>
/dev/null 2>&1
;
then
\
--tags
--long
--match
'?.*.*'
--always
;
then
\
cat
$(srcdir)
/revision.txt
;
\
fi
>
revision.tmp
$(AM_V_at)
if
diff revision.tmp
$(srcdir)
/revision.txt
>
/dev/null 2>&1
;
then
\
rm
-f
--
revision.tmp
;
\
rm
-f
--
revision.tmp
;
\
else
\
else
\
mv
-f
--
revision.tmp revision.txt
;
\
mv
-f
--
revision.tmp
$(srcdir)
/revision.txt
;
\
fi
2>&1
fi
#2>&1
###############################################################################
###############################################################################
# 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