Changeset eb149eed4098fc35abda281875f076cc57723dd2
- Timestamp:
- 01/05/08 17:42:17
(6 months ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1199551337 +0000
- git-parent:
[89e87d9bb6e4c56bdd1a86392b2e217387f03074]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1199551337 +0000
- Message:
Makefile.am: try it the simple way now, trusting the user not to open another dmg with the same name
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r89e87d9 |
reb149ee |
|
| 993 | 993 | hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-${VERSION}" \ |
|---|
| 994 | 994 | "$(top_builddir)/vlc-${VERSION}.dmg" -format UDRW \ |
|---|
| 995 | | -scrub -imagekey zlib-level=9 ; |
|---|
| | 995 | -scrub -imagekey zlib-level=9 -attach ; |
|---|
| 996 | 996 | |
|---|
| 997 | 997 | # Make sure the root window of the dmg will pop up when the dmg is mounted. |
|---|
| … | … | |
| 999 | 999 | # finder mounted dmg with the same name. |
|---|
| 1000 | 1000 | echo "Make sure the root window of the dmg will pop up when the dmg is mounted" ; |
|---|
| 1001 | | mkdir -p $(top_builddir)/vlcmnt ; |
|---|
| 1002 | | hdiutil attach -nokernel -readwrite -noverify -noautoopen -private "$(top_builddir)/vlc-${VERSION}.dmg" -mountpoint "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; |
|---|
| | 1001 | # mkdir -p $(top_builddir)/vlcmnt ; |
|---|
| | 1002 | # hdiutil attach -nokernel -readwrite -noverify -noautoopen -private "$(top_builddir)/vlc-${VERSION}.dmg" -mountpoint "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; |
|---|
| 1003 | 1003 | bless --folder "$(top_builddir)/vlcmnt/vlc-${VERSION}/" --openfolder "$(top_builddir)/vlcmnt/vlc-${VERSION}" ; |
|---|
| 1004 | 1004 | sleep 1 # Make sure operation completes |
|---|
| 1005 | | cd "$(srcdir)" |
|---|
| | 1005 | # cd "$(srcdir)" |
|---|
| 1006 | 1006 | |
|---|
| 1007 | 1007 | # Unmount the image now |
|---|