diff -r a728d3c0bd35 -r 1158876b5622 documentation/fshell_builddocs.mk --- a/documentation/fshell_builddocs.mk Mon Nov 08 17:25:34 2010 +0000 +++ b/documentation/fshell_builddocs.mk Tue Nov 09 16:55:25 2010 +0000 @@ -9,13 +9,24 @@ # Initial Contributors: # Accenture - Initial contribution # -BLD : - ..\tools\fsh-builddocs -i epoc32/include pod-list.txt +# To ensure that EPOCROOT always ends with a forward slash +TMPROOT:=$(subst \,/,$(EPOCROOT)) +EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ + +BUILDDOCS = $(EPOCROOT)sf/os/fshell/tools/fsh-builddocs +POD = $(EPOCROOT)sf/os/fshell/documentation/pod-list.txt + -RELEASABLES : - @..\tools\fsh-builddocs -i epoc32/include pod-list.txt -w +BLD : $(BUILDFILES) +$(BUILDFILES) : + $(BUILDDOCS) -i $(EPOCROOT)epoc32/include $(POD) -CLEAN : - ..\tools\fsh-builddocs -i epoc32/include pod-list.txt -c +RELEASABLES : $(RELEASEABLEFILES) +$(RELEASEABLEFILES) : + @$(BUILDDOCS) -i $(EPOCROOT)epoc32/include $(POD) -w + +CLEAN : $(CLEANFILES) +$(CLEANFILES) : + $(BUILDDOCS) -i $(EPOCROOT)epoc32/include $(POD) -c MAKMAKE FREEZE LIB CLEANLIB RESOURCE SAVESPACE FINAL :