rpm: fixed building without chmhelp

git-svn-id: trunk@37810 -
This commit is contained in:
mattias 2012-06-28 06:04:47 +00:00
parent 1b6c227bd8
commit 8961260644
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ echo "creating lazarus tgz ..."
# create spec file
echo "creating lazarus spec file ..."
CHMCOMMENT="% "
CHMCOMMENT="# "
if [ "$UseCHMHelp" = "1" ]; then CHMCOMMENT=""; fi
cat rpm/lazarus.spec.template | \
sed -e "s/LAZVERSION/$LazVersion/g" \

View File

@ -33,7 +33,7 @@ MAKEOPTS="-Fl/opt/gnome/lib"
if [ -n "$FPCCfg" ]; then
MAKEOPTS="$MAKEOPTS -n @$FPCCfg"
fi
%CHMHELP:MAKEOPTS="$MAKEOPTS -dUseCHMHelp"
#CHMHELP:MAKEOPTS="$MAKEOPTS -dUseCHMHelp"
make bigide OPT="$MAKEOPTS" USESVN2REVISIONINC=0
export LCL_PLATFORM=
strip lazarus
@ -43,7 +43,7 @@ strip tools/lazres
strip tools/updatepofiles
strip tools/lrstolfm
strip tools/svn2revisioninc
%CHMHELP:strip components/chmhelp/lhelp/lhelp
#CHMHELP:strip components/chmhelp/lhelp/lhelp
%install
[ %{buildroot} != "/" ] && ( rm -rf %{buildroot} )