From: Eric Petit Date: Wed, 17 Dec 2003 08:53:54 +0000 (+0000) Subject: * Makefile.am: cleaned up package-beos X-Git-Tag: 0.7.0~75 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9d4690c97a40fc7eee71deb15d3a2287d137b881;p=vlc * Makefile.am: cleaned up package-beos * share/vlc_beos.rsrc: new icon based on Stephane's cone --- diff --git a/Makefile.am b/Makefile.am index a0b47fb75d..8c7a55d097 100644 --- a/Makefile.am +++ b/Makefile.am @@ -627,45 +627,38 @@ package-beos: # Check that tmp isn't in the way @if test -e $(srcdir)/tmp; then \ echo "Error: please remove $(srcdir)/tmp, it is in the way"; \ - false; \ + false ; \ else \ - echo "OK."; mkdir $(srcdir)/tmp; \ + echo "OK." ; mkdir $(srcdir)/tmp ; \ fi # Copy relevant files - mkdir -p $(srcdir)/tmp/vlc + mkdir -p $(srcdir)/tmp/vlc ; cd $(srcdir) && \ - cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/ + cp vlc AUTHORS COPYING ChangeLog README THANKS NEWS tmp/vlc/ ; # We cannot use ${PLUGIN_FILES} as it looks like it is too "long" for the BeOS shell... if [ `find $(srcdir)/modules -name "lib*_plugin.so" | wc -l` -gt 0 ]; then \ - mkdir -p $(srcdir)/tmp/vlc/plugins; \ - find $(srcdir)/modules -name "lib*_plugin.so" | xargs -i{} cp {} $(srcdir)/tmp/vlc/plugins/; \ + mkdir -p $(srcdir)/tmp/vlc/plugins ; \ + find $(srcdir)/modules -name "lib*_plugin.so" -exec cp {} $(srcdir)/tmp/vlc/plugins/ \; ; \ fi for i in $(ALL_LINGUAS); do \ mkdir -p $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES ; \ cp $(srcdir)/po/$${i}.gmo $(srcdir)/tmp/vlc/locale/$${i}/LC_MESSAGES/vlc.mo || true ; \ done -# Create package with debug symbols - mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/* - mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} - (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS-debug.zip vlc-${VERSION} ) - mv $(srcdir)/tmp/vlc-${VERSION}-BeOS-debug.zip $(srcdir)/ - -# Create package without debug symbols - mv $(srcdir)/tmp/vlc-${VERSION} $(srcdir)/tmp/vlc - strip $(srcdir)/tmp/vlc/vlc +# Strip files and create package + strip --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/vlc ; if [ -d $(srcdir)/tmp/vlc/plugins ]; then \ - strip $(srcdir)/tmp/vlc/plugins/lib*_plugin.so; \ + strip --strip-debug --strip-unneeded $(srcdir)/tmp/vlc/plugins/lib*_plugin.so ; \ fi - xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc - mimeset -f $(srcdir)/tmp/vlc/* $(srcdir)/tmp/vlc/*/* - mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} + xres -o $(srcdir)/tmp/vlc/vlc $(srcdir)/share/vlc_beos.rsrc ; + find $(srcdir)/tmp/vlc -exec mimeset -f {} \; ; + mv $(srcdir)/tmp/vlc $(srcdir)/tmp/vlc-${VERSION} ; (cd $(srcdir)/tmp ; zip -9 -r vlc-${VERSION}-BeOS.zip vlc-${VERSION} ) - mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ + mv $(srcdir)/tmp/vlc-${VERSION}-BeOS.zip $(srcdir)/ ; # Clean up - rm -Rf $(srcdir)/tmp + rm -Rf $(srcdir)/tmp ; package-macosx: # Check that tmp isn't in the way diff --git a/share/vlc_beos.rsrc b/share/vlc_beos.rsrc index c08b2f9984..b360097bc9 100644 Binary files a/share/vlc_beos.rsrc and b/share/vlc_beos.rsrc differ