Eric Kow <[email protected]> writes: > On Fri, Sep 11, 2009 at 01:39:41 -0700, Trent W. Buck wrote: >> I noticed the manual on darcs.net wasn't keeping up to date with >> changes to the docstring documentation. This additional dependency of >> the (generated, unified) .tex targets on dist/build/darcs/darcs fixes >> the (immediate?) issue. > > Thanks for picking up on this. > > Fix "make website" (missing build dependency). > ---------------------------------------------- >> TEXSOURCES = src/darcs.tex $(wildcard src/*.tex) $(filter >> %.lhs,$(DARCS_FILES)) > > Maybe we depend on > > DARCS_FILES = $(wildcard src/[A-Z]*.hs src/*/[A-Z]*.hs src/*/*/[A-Z]*.hs) \ > $(wildcard src/[A-Z]*.lhs src/*/[A-Z]*.lhs src/*/*/[A-Z]*.lhs) > > in addition to TEXSOURCES since the problem (as you've identified it) is that > preproc picks up stuff in the .hs files. > >> - -doc/manual/darcs.tex: $(TEXSOURCES) >> - - $(PREPROC) darcs.tex $(PREPROCHTML) >$@ >> - -doc/manual/darcs_print.tex: $(TEXSOURCES) >> - - $(PREPROC) darcs.tex >$@ >> - -doc/manual/patch-theory.tex: $(TEXSOURCES) $(UNIT_FILES) >> - - $(PREPROC) Darcs/Patch/Properties.lhs >$@ >> +doc/manual/darcs.tex: dist/build/darcs/darcs $(TEXSOURCES) >> + $< --preprocess-manual darcs.tex $(PREPROCHTML) >$@ >> +doc/manual/darcs_print.tex: dist/build/darcs/darcs $(TEXSOURCES) >> + $< --preprocess-manual darcs.tex >$@ >> +doc/manual/patch-theory.tex: dist/build/darcs/darcs $(TEXSOURCES) >> $(UNIT_FILES) >> + $< --preprocess-manual Darcs/Patch/Properties.lhs >$@ > > On IRC you've identified this (depending on the Cabal built darcs) as a bodge > rather than a proper fix. > > Let me know if you want me to just apply this and be done with it.
Definitely apply it. *I* am not interested in investing more than the bare minimum of effort on this code. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
