Commit 3094acb4 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

dmg creator: distribute doc

parent 2442eb80
...@@ -122,13 +122,16 @@ else ...@@ -122,13 +122,16 @@ else
fi fi
fi fi
if [ ! -e "${DMGFOLDERNAME}" ]; then info "Deleting previous data"
rm -rf "${DMGFOLDERNAME}"
info "Collecting items" info "Collecting items"
mkdir -p "${DMGFOLDERNAME}" mkdir -p "${DMGFOLDERNAME}"
mkdir -p "${DMGFOLDERNAME}/Sample Code" mkdir -p "${DMGFOLDERNAME}/Sample Code"
if [ "$MOBILE" = "no" ]; then if [ "$MOBILE" = "no" ]; then
cp -R VLCKit/* "${DMGFOLDERNAME}" cp -R VLCKit/* "${DMGFOLDERNAME}"
cp -R Examples_OSX/* "${DMGFOLDERNAME}/Sample Code" cp -R Examples_OSX/* "${DMGFOLDERNAME}/Sample Code"
cp -R doc "${DMGFOLDERNAME}"
else else
if [ "$TV" = "yes" ]; then if [ "$TV" = "yes" ]; then
cp -R build/TVVLCKit.framework "${DMGFOLDERNAME}" cp -R build/TVVLCKit.framework "${DMGFOLDERNAME}"
...@@ -136,6 +139,7 @@ else ...@@ -136,6 +139,7 @@ else
cp -R build/MobileVLCKit.framework "${DMGFOLDERNAME}" cp -R build/MobileVLCKit.framework "${DMGFOLDERNAME}"
cp -R Examples_iOS/* "${DMGFOLDERNAME}/Sample Code" cp -R Examples_iOS/* "${DMGFOLDERNAME}/Sample Code"
fi fi
cp -R doc "${DMGFOLDERNAME}"
cp COPYING "${DMGFOLDERNAME}" cp COPYING "${DMGFOLDERNAME}"
fi fi
cp NEWS "${DMGFOLDERNAME}" cp NEWS "${DMGFOLDERNAME}"
...@@ -144,7 +148,6 @@ mv NEWS NEWS.txt ...@@ -144,7 +148,6 @@ mv NEWS NEWS.txt
mv COPYING COPYING.txt mv COPYING COPYING.txt
spopd spopd
rm -f ${DMGITEMNAME}-rw.dmg rm -f ${DMGITEMNAME}-rw.dmg
fi
if [ "$USEZIP" = "no" ]; then if [ "$USEZIP" = "no" ]; then
info "Creating disk-image" info "Creating disk-image"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment