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
73c24f3a
Commit
73c24f3a
authored
Nov 13, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: fix win32 packaging
Clean up hack and avoid failing if bin/ doesn't exist
parent
a39ed44c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
extras/contrib/Makefile
extras/contrib/Makefile
+2
-6
No files found.
extras/contrib/Makefile
View file @
73c24f3a
...
...
@@ -121,12 +121,8 @@ package-win32:
done;
# Change Prefix.
./change_prefix.sh
tmp
$(PREFIX)
$(DISTDIR)
# Hack for qt4
(cd
tmp/$(DISTDIR)/bin;
mv
uic.exe
uic.ex;
mv
rcc.exe
rcc.ex;
mv
moc.exe
moc.ex)
# Remove unused and potentially harmful files
(cd
tmp/$(DISTDIR)/bin;
rm
-rfv
*.exe;
chmod
a+x
*)
# Hack for qt4
(cd
tmp/$(DISTDIR)/bin;
mv
uic.ex
uic.exe;
mv
rcc.ex
rcc.exe;
mv
moc.ex
moc.exe)
# Remove unused and potentially harmful files (but skip qt4 executables)
(cd
tmp/$(DISTDIR)/bin
&&
rm
-fv
`find
.
-name
'uic.exe'
-o
-name
'rcc.exe'
-o
-name
'moc.exe'
-o
-name
'*.exe'
-printf
'%p '
`
&&
chmod
a+x
*
||
true)
# Tar it.
(cd
tmp;
tar
cf
-
$(DISTDIR))
|
bzip2
-c
>
contrib-`date
+%Y%m%d`-win32-bin-gcc-`$(CC)
--version|head
-n
1|cut
-f
3
-d
' '
`-runtime-`/bin/echo
-e
"#include <_mingw.h>\n__MINGW32_VERSION"
|$(CC)
-E
-|grep
-v
^
#|grep -v ' '`-only.tar.bz2
rm
-rf
tmp
...
...
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