Browse Source

VLCKit: move building/packaging to project folder

pull/2/head
Rafaël Carré 15 years ago
parent
commit
0ddec016f3
  1. 8
      extras/package/macosx/package.mak
  2. 18
      projects/macosx/framework/Makefile

8
extras/package/macosx/package.mak

@ -89,12 +89,6 @@ package-macosx-zip: VLC.app
zip -r -y -9 $(top_builddir)/vlc-$(VERSION).zip $(top_builddir)/vlc-$(VERSION)
rm -rf "$(top_builddir)/vlc-$(VERSION)"
package-macosx-framework-zip:
mkdir -p $(top_builddir)/vlckit-$(VERSION)/Goodies/
cp -R $(srcdir)/projects/macosx/framework/build/Debug/VLCKit.framework $(top_builddir)/vlckit-$(VERSION)/
cd $(srcdir); cp AUTHORS COPYING README THANKS NEWS $(abs_top_builddir)/vlckit-$(VERSION)/Goodies/
zip -r -y -9 $(top_builddir)/vlckit-$(VERSION).zip $(top_builddir)/vlckit-$(VERSION)
package-translations:
mkdir -p "$(srcdir)/vlc-translations-$(VERSION)"
for i in `cat "$(top_srcdir)/po/LINGUAS"`; do \
@ -114,4 +108,4 @@ package-translations:
$(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \
| GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz
.PHONY: package-macosx package-macosx-zip package-macosx-framework-zip package-translations
.PHONY: package-macosx package-macosx-zip package-translations

18
projects/macosx/framework/Makefile

@ -1,5 +1,17 @@
all:
xcodebuild
VLCKit.zip: VLCKit
zip -r -y -9 $@ $<
VLCKit: build/Debug/VLCKit.framework
rm -rf $@-tmp && mkdir -p $@-tmp
cp -R $< $@-tmp
cp ../../../COPYING $@-tmp
mv $@-tmp $@ && touch $@
build/Debug/VLCKit.framework:
xcodebuild -project VLCKit.xcodeproj -target "Build Everything"
clean:
xcodebuild clean
xcodebuild -project VLCKit.xcodeproj clean
rm -fr VLCKit VLCKit.zip
.PHONY: clean

Loading…
Cancel
Save