mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 20:18:15 +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
|
||||
|
||||
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.'
|
||||
${FPC} -o$@ build_lcl_docs.lpr
|
||||
${FPC} -FU. $(addprefix -Fu../../,components/lazutils lcl) -o$@ build_lcl_docs.lpr
|
||||
else
|
||||
${LAZBUILD} $<
|
||||
endif
|
||||
|
||||
clean:
|
||||
${RM} build_lcl_docs lcl lazutils
|
||||
${RM} build_lcl_docs lcl lazutils *.o *.ppu *.rst
|
||||
|
||||
htmlinstall chminstall:
|
||||
install -d ${INSTALL_DOCDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user