Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a58afe8e
Commit
a58afe8e
authored
Dec 09, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build VLC aliases cleanly (don't need to parse argv[0])
parent
b0152eca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
20 deletions
+52
-20
Makefile.am
Makefile.am
+38
-20
make-alias
make-alias
+14
-0
No files found.
Makefile.am
View file @
a58afe8e
...
...
@@ -236,6 +236,14 @@ vlc-config.in: vlc-config.in.in
CLEANFILES
=
$(BUILT_SOURCES_clean)
stamp-builtin
DISTCLEANFILES
=
$(BUILT_SOURCES_distclean)
vlc-config.in compile
# Shortcut for developpers to rebuild the core (libvlc + vlc)
# Don't use it if you don't know what it is about.
# Don't complain if it doesn't work. -- Courmisch
libvlc
:
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
$(LIB_libvlc)
.PHONY
:
libvlc
###############################################################################
# Building vlc
###############################################################################
...
...
@@ -262,15 +270,9 @@ LIBVLC = src/$(LIB_libvlc)
nice
:
$(top_builddir)
/compile
# Shortcut for developpers to rebuild the core (libvlc + vlc)
# Don't use it if you don't know what it is about.
# Don't complain if it doesn't work. -- Courmisch
libvlc
:
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
$(LIB_libvlc)
core
:
libvlc vlc$(EXEEXT)
.PHONY
:
libvlc
core
.PHONY
:
core
vlc$(EXEEXT)
:
$(vlc_OBJECTS) $(vlc_DEPENDENCIES)
@
rm
-f
vlc
$(EXEEXT)
...
...
@@ -309,19 +311,35 @@ vlc-bundle: vlc
find
$(top_builddir)
/vlc-bundle
-type
f
-exec
mimeset
-f
"{}"
\;
endif
# Install the symlinks
install-exec-local
:
install-binPROGRAMS
inst
=
"
`
echo
vlc |
sed
-e
'
$(transform)
'
`
"
;
\
for
i
in
""
$(ALIASES)
;
do if
test
-n
"
$$
i"
;
then
\
rm
-f
"
$(DESTDIR)$(bindir)
/
$$
i"
&&
\
ln
-sf
"
$
${inst}
"
"
$(DESTDIR)$(bindir)
/
$$
i"
;
\
fi
;
done
# the opposite of install-{data,exec}-local
uninstall-local
:
for
i
in
""
$(ALIASES)
;
do if
test
-n
"
$$
i"
;
then
\
rm
-f
"
$(DESTDIR)$(bindir)
/
$$
i"
;
\
fi
;
done
###############################################################################
# Building aliases
###############################################################################
ALL_ALIASES
=
cvlc rvlc svlc wxvlc qvlc nvlc
bin_SCRIPTS
+=
$(ALIASES)
EXTRA_SCRIPTS
=
$(ALL_ALIASES)
dist_noinst_SCRIPTS
+=
make-alias
MKALIAS
=
bindir
=
"
$(bindir)
"
transform
=
"
$(transform)
"
$(top_srcdir)
/make-alias
$@
cvlc
:
make-alias
$(MKALIAS)
dummy
rvlc
:
make-alias
$(MKALIAS)
rc
svlc
:
make-alias
$(MKALIAS)
skins2
wxvlc
:
make-alias
$(MKALIAS)
wx
qvlc
:
make-alias
$(MKALIAS)
qt4
nvlc
:
make-alias
$(MKALIAS)
ncurses
if
HAVE_DARWIN
# Create the MacOS X app
...
...
make-alias
0 → 100755
View file @
a58afe8e
#! /bin/sh
# Interface alias build script for VLC
# Copyright © 2007 Rémi Denis-Courmont.
OUT
=
"
$1
"
IFACE
=
"
$2
"
cat
>
"
$OUT
.tmp"
<<
EOF
#! /bin/sh
exec
$bindir
/`echo vlc | sed -e "
$transform
"` -I "
$IFACE
" "
\$
@"
EOF
chmod
+x
"
$OUT
.tmp"
mv
-f
--
"
$OUT
.tmp"
"
$OUT
"
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