[marf-cvs] marf/doc/src/tex Makefile,1.28,1.28.6.1
Brought to you by:
mokhov
From: Serguei A. M. <mo...@us...> - 2007-10-06 23:09:59
|
Update of /cvsroot/marf/marf/doc/src/tex In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8154/doc/src/tex Modified Files: Tag: MARF_PD Makefile Log Message: Fix a bug in the building the manual that disallowed building the manual docs when the apps module is not around to include files from there. Instead, allow it to proceed and insert a warning message that some application files are missing. Per report from guarriman2 on the Developers forum. Index: Makefile =================================================================== RCS file: /cvsroot/marf/marf/doc/src/tex/Makefile,v retrieving revision 1.28 retrieving revision 1.28.6.1 diff -C2 -d -r1.28 -r1.28.6.1 *** Makefile 28 Feb 2007 07:56:43 -0000 1.28 --- Makefile 6 Oct 2007 23:09:56 -0000 1.28.6.1 *************** *** 83,87 **** all: report ! report: date.tex $(LANGTEXFILES) $(GRAMMARTEXFILES) $(SENTENCETEXFILES) images @echo "Compiling *.tex files..." pdflatex $(PDFLATEXFLAGS) report --- 83,97 ---- all: report ! report: date.tex images ! @if [ ! -e $(LANGDIRS) ] ; then \ ! echo "WARNING: the LangIdentApp application files were not found and as such are not included." \ ! > LangIdentApp.tex ; \ ! perl -pi -e 's%\\input%noinput%g' lang-ident-app.tex ; \ ! perl -pi -e 's%\\input%noinput%g' probabilistic-parsing-app.tex ; \ ! else \ ! perl -pi -e 's%noinput%\\input%g' lang-ident-app.tex ; \ ! perl -pi -e 's%noinput%\\input%g' probabilistic-parsing-app.tex ; \ ! make resource-files ; \ ! fi @echo "Compiling *.tex files..." pdflatex $(PDFLATEXFLAGS) report *************** *** 158,162 **** conclusions.tex ! appendix: appendix.tex cvs.tex app todo # --- 168,180 ---- conclusions.tex ! appendix: appendix.tex cvs.tex todo ! @if [ ! -e $(APPDIR)/SpeakerIdentApp.java ] ; then \ ! echo "WARNING: the application file was not found and as such is not included." \ ! > SpeakerIdentApp.tex ; \ ! cp SpeakerIdentApp.tex SpeakersIdentDb.tex ; \ ! cp SpeakerIdentApp.tex testing-sh.tex ; \ ! else \ ! make app ; \ ! fi # *************** *** 164,167 **** --- 182,187 ---- # + # Images for figures + images: $(ARCHIMAGES) $(ZIPFIMAGES) *************** *** 172,175 **** --- 192,200 ---- ln -s $(ZIPFDIR)/$@ $@ + + # Text files for incluision + + resource-files: $(LANGTEXFILES) $(GRAMMARTEXFILES) $(SENTENCETEXFILES) + $(LANGTEXFILES): @echo "Preparing $@ ..." |