File: mkdmg

package info (click to toggle)
eln 1.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,876 kB
  • sloc: cpp: 26,606; perl: 796; python: 437; sh: 73; makefile: 32; xml: 8
file content (12 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

MOCBIN=`grep bin/moc build/Makefile.Release|head -n 1 |cut -f1 -d ' '`
MOCDIR=`dirname $MOCBIN`
[[ "$MOCDIR" =~ ^/ ]] || MOCDIR="build/$MOCDIR" 
# Typically: /Users/wagenaar/Qt5.2.1/5.2.1/clang_64/bin

tools/mkapp

[ -f eln.dmg ] && rm -f eln.dmg

$MOCDIR/macdeployqt eln.app -dmg -executable=eln.app/Contents/MacOS/webgrab