]> git.sesse.net Git - vlc/commitdiff
* Makefile.am: cleaned up package-beos
authorEric Petit <titer@videolan.org>
Wed, 17 Dec 2003 08:53:54 +0000 (08:53 +0000)
committerEric Petit <titer@videolan.org>
Wed, 17 Dec 2003 08:53:54 +0000 (08:53 +0000)
 * share/vlc_beos.rsrc: new icon based on Stephane's cone

Makefile.am
share/vlc_beos.rsrc

index a0b47fb75d37d80f401ae70edab110896eacb1b9..8c7a55d09754697ace23faade91d5c52efe411b9 100644 (file)
@@ -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
index c08b2f99848437b70cb81f7a230e735ac3914eaf..b360097bc948cb99b3bf081e2326875d1d4f2d76 100644 (file)
Binary files a/share/vlc_beos.rsrc and b/share/vlc_beos.rsrc differ