mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-14 17:57:39 +01:00
18 lines
548 B
Makefile
18 lines
548 B
Makefile
if GENERATE_DOC
|
|
export TEXINPUTS := $(srcdir):$(TEXINPUTS)
|
|
export BIBINPUTS := $(srcdir):$(BIBINPUTS)
|
|
export BSTINPUTS := $(srcdir):$(BSTINPUTS)
|
|
|
|
user.tex: user.pod
|
|
$(PERL) $(srcdir)/mypod2latex $< $@
|
|
manual.pdf: manual.tex user.tex $(srcdir)/implementation.tex
|
|
(cd ..; echo "@GIT_HEAD_VERSION@") > version.tex
|
|
$(PDFLATEX) $<
|
|
bibtex manual
|
|
$(PDFLATEX) $<
|
|
$(PDFLATEX) $<
|
|
user.html: user.pod
|
|
(cd ..; echo "@GIT_HEAD_VERSION@") > version
|
|
$(POD2HTML) --infile=$< --outfile=$@ --title="Integer Set Library: Manual [version `cat version`]"
|
|
endif
|