mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:56:00 +02:00
docs: html: Fixed compilation when lazbuild not in path, better clean up
git-svn-id: trunk@43894 -
This commit is contained in:
parent
95931463b9
commit
91e445c18a
@ -23,15 +23,15 @@ chmdocs: build_lcl_docs
|
|||||||
./$< --outfmt chm
|
./$< --outfmt chm
|
||||||
|
|
||||||
build_lcl_docs: build_lcl_docs.lpi build_lcl_docs.lpr
|
build_lcl_docs: build_lcl_docs.lpi build_lcl_docs.lpr
|
||||||
ifeq (${LAZBUILD},)
|
ifeq ($(realpath ${LAZBUILD}),)
|
||||||
echo 'Executable "lazbuild" not found, trying direct FPC call.'
|
echo 'Executable "lazbuild" not found, trying direct FPC call.'
|
||||||
${FPC} -o$@ build_lcl_docs.lpr
|
${FPC} -FU. $(addprefix -Fu../../,components/lazutils lcl) -o$@ build_lcl_docs.lpr
|
||||||
else
|
else
|
||||||
${LAZBUILD} $<
|
${LAZBUILD} $<
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
${RM} build_lcl_docs lcl lazutils
|
${RM} build_lcl_docs lcl lazutils *.o *.ppu *.rst
|
||||||
|
|
||||||
htmlinstall chminstall:
|
htmlinstall chminstall:
|
||||||
install -d ${INSTALL_DOCDIR}
|
install -d ${INSTALL_DOCDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user