[vlc-devel] commit: Makefile.am: Yet an other package-macosx-zip fix. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Apr 17 11:48:05 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Apr 17 11:47:09 2008 +0200| [d9f9ab15fd354bca08d1024f3450833c4690f1e7]

Makefile.am: Yet an other package-macosx-zip fix.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9f9ab15fd354bca08d1024f3450833c4690f1e7
---

 Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 797d030..56a8221 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1001,6 +1001,7 @@ package-macosx-zip:
 	rm -Rf $(top_builddir)/vlc-$(VERSION)
 	mkdir -p $(top_builddir)/vlc-$(VERSION)
 	cp -R $(top_builddir)/VLC-release.app $(top_builddir)/vlc-$(VERSION)/VLC.app
+	mkdir -p $(top_builddir)/vlc-$(VERSION)/Goodies
 	for i in AUTHORS COPYING ChangeLog README THANKS NEWS; do
 	  cp $(srcdir)/$$i $(top_builddir)/vlc-$(VERSION)/Goodies/
 	done
@@ -1009,16 +1010,19 @@ package-macosx-zip:
 	cp $(srcdir)/extras/package/macosx/README.MacOSX.rtf \
 	   $(top_builddir)/vlc-$(VERSION)
 	zip -r $(top_builddir)/vlc-$(VERSION).zip $(top_builddir)/vlc-$(VERSION)
+	rm -Rf $(top_builddir)/vlc-$(VERSION)
 
 package-macosx-framework-zip:
 	rm -Rf $(top_builddir)/vlckit-$(VERSION)
 	mkdir -p $(top_builddir)/vlckit-$(VERSION)
 	cp -R $(srcdir)/projects/macosx/framework/build/Debug/VLCKit.framework \
 	  $(top_builddir)/vlckit-$(VERSION)/VLCKit.framework
-	for i in AUTHORS COPYING ChangeLog README THANKS NEWS; do
-	  cp $(srcdir)/$$i $(top_builddir)/vlckit-$(VERSION)/Goodies/
+	mkdir -p $(top_builddir)/vlc-$(VERSION)/Goodies
+	for i in AUTHORS COPYING ChangeLog README THANKS NEWS; do \
+	  cp $(srcdir)/$$i $(top_builddir)/vlckit-$(VERSION)/Goodies; \
 	done
 	zip -r $(top_builddir)/vlckit-$(VERSION).zip $(top_builddir)/vlckit-$(VERSION)
+	rm -Rf $(top_builddir)/vlc-$(VERSION)
 
 package-macosx-plugin:
 if BUILD_MOZILLA




More information about the vlc-devel mailing list