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
c17e507a
Commit
c17e507a
authored
Jan 29, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npapi: update the tree automatically and, if needed, rebuild
parent
206f8628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
13 deletions
+28
-13
extras/package/npapi.am
extras/package/npapi.am
+28
-13
No files found.
extras/package/npapi.am
View file @
c17e507a
#! /usr/bin/make -f
build-npapi: stamp-npapi-build
build-npapi: fetch-npapi
$(MAKE) install-npapi
stamp-npapi-fetch:
rm -Rf npapi-vlc
git clone git://git.videolan.org/npapi-vlc.git npapi-vlc
touch $@
fetch-npapi:
rm -f -- stamp-npapi.tmp
if test -d npapi-vlc; then \
cd npapi-vlc && \
git fetch origin && \
git reset --hard origin/master; \
else \
git clone git://git.videolan.org/npapi-vlc.git npapi-vlc ; \
fi
git --git-dir=npapi-vlc/.git describe --long --always > stamp-npapi.tmp
if diff stamp-npapi.tmp stamp-npapi >/dev/null 2>&1; then \
rm -f -- stamp-npapi.tmp ; \
else \
mv -f -- stamp-npapi.tmp stamp-npapi ; \
fi
stamp-npapi:
$(MAKE) fetch-npapi
stamp-npapi-autogen: stamp-npapi-fetch
# extras/package/npapi.am
npapi-vlc/configure: stamp-npapi
cd npapi-vlc && \
$(SHELL) ./autogen.sh
touch $@
stamp-npapi-configure: stamp-npapi-autogen
npapi-vlc/Makefile: npapi-vlc/configure
cd npapi-vlc && \
$(SHELL) ./configure \
--prefix=/ \
...
...
@@ -26,8 +40,9 @@ stamp-npapi-configure: stamp-npapi-autogen
PKG_CONFIG_LIBDIR="../$(srcdir)/extras/contrib/lib/pkgconfig:../lib"
touch $@
stamp-npapi-build: stamp-npapi-configure
cd npapi-vlc && \
$(MAKE) all && \
$(MAKE) DESTDIR="$(abs_builddir)/npapi-vlc/installed" install
touch $@
npapi-vlc/npapi/npvlc.la: npapi-vlc/Makefile
$(MAKE) -C npapi-vlc
install-npapi: npapi-vlc/npapi/npvlc.la
$(MAKE) -C npapi-vlc \
DESTDIR="$(abs_builddir)/npapi-vlc/installed" install
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