deb: fixed LazarusDirectory in /etc/lazarus/environmentoptions.xml

git-svn-id: trunk@22068 -
This commit is contained in:
mattias 2009-10-08 00:19:48 +00:00
parent 9afe358860
commit 8b45ef1807
2 changed files with 2 additions and 2 deletions

2
debian/rules vendored
View File

@ -164,7 +164,7 @@ install-arch-stamp:
$(MAKE) -C install/man installman $(INSTALLOPTS) INSTALL_PREFIX=$(INSTALL_DIR)/usr/share
# Install configuration files
${MKDIR} $(INSTALL_DIR)/etc/lazarus
fpcsubst -d FPCVER=${FPCVER} -i ${CURDIR}/tools/install/linux/environmentoptions.xml -o $(INSTALL_DIR)/etc/lazarus/environmentoptions.xml
fpcsubst -d LazarusVersion=${DEB_UPSTREAM_MAIN_VERSION} -i ${CURDIR}/tools/install/linux/environmentoptions.xml -o $(INSTALL_DIR)/etc/lazarus/environmentoptions.xml
# Install contributer list
install -d $(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/docs
${CP} -t $(INSTALL_DIR)/usr/lib/lazarus/${DEB_UPSTREAM_MAIN_VERSION}/docs \

View File

@ -5,7 +5,7 @@
<Debugger Class="TGDBMIDebugger"/>
<DebuggerFilename Value="/usr/bin/gdb">
</DebuggerFilename>
<LazarusDirectory Value="/usr/lib/lazarus/">
<LazarusDirectory Value="/usr/lib/lazarus/%LazarusVersion%">
<History Count="1">
<Item1 Value="/usr/lib/lazarus/"/>
</History>