mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
41a0adcb47
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38765 a592a061-630c-0410-9148-cb99ea01b6c8
32 lines
355 B
Bash
Executable File
32 lines
355 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z $1 ]
|
|
then
|
|
echo "Pass the path to the lyx sources, e.g. dmg ../lyx-devel"
|
|
exit 1
|
|
fi
|
|
|
|
|
|
cmake -DLYX_MERGE_FILES=1 -DLYX_COCOA=1 -DLYX_NO_OPTIMIZE=1 -DLYX_INSTALL=1 -DLYX_DMG=1 $1
|
|
|
|
if [ "$?" -nq "0" ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j4
|
|
|
|
if [ "$?" -nq "0" ]
|
|
then
|
|
exit 2
|
|
fi
|
|
|
|
make install/strip
|
|
|
|
if [ "$?" -nq "0" ]
|
|
then
|
|
exit 2
|
|
fi
|
|
|
|
|
|
make package |