mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-24 10:19:18 +02:00
rpm: fixed building without chmhelp
git-svn-id: trunk@37810 -
This commit is contained in:
parent
1b6c227bd8
commit
8961260644
@ -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" \
|
||||
|
@ -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} )
|
||||
|
Loading…
Reference in New Issue
Block a user