mirror of https://github.com/odrling/Aegisub
* Add 'make osx-dmg' target
* Fix scripts/osx-dmg.sh to check for ${PKG_DIR}.app before making a dmg. Originally committed to SVN as r2559.
This commit is contained in:
parent
461002bfad
commit
44d1465db0
|
@ -30,6 +30,8 @@ SUBDIRS = \
|
|||
osx-bundle:
|
||||
/bin/sh scripts/osx-bundle.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@
|
||||
|
||||
osx-dmg:
|
||||
/bin/sh scripts/osx-dmg.sh @PACKAGE_TARNAME@-@PACKAGE_VERSION@ "@PACKAGE_TARNAME@ @PACKAGE_VERSION@"
|
||||
|
||||
EXTRA_DIST = \
|
||||
intltool-extract.in \
|
||||
|
|
|
@ -11,11 +11,16 @@
|
|||
# Released under GNU GPL, read the file 'COPYING' for more information
|
||||
|
||||
TMP_DMG="temp_dmg"
|
||||
PKG_DIR="${1}"
|
||||
PKG_DIR="${1}.app"
|
||||
PKG_NAME="${2}"
|
||||
PKG_NAME_RW="${1}_rw.dmg"
|
||||
PKG_NAME_VOLUME="${2}"
|
||||
|
||||
if ! test -d "${PKG_DIR}"; then
|
||||
echo "${PKG_DIR} does not exist, please run 'make osx-bundle'"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
mkdir -v ${TMP_DMG}
|
||||
echo
|
||||
echo "---- Copying ${1} into ${TMP_DMG}/ ----"
|
||||
|
|
Loading…
Reference in New Issue