Also remove the latex documentation completely
MANUAL_SRC=README
MANUAL_HTML=manual.html
MANUAL_SRC=README
MANUAL_HTML=manual.html
-MANUAL_LATEX=manual.latex
MANUAL_PDF=manual.pdf
SAMPLES = sample/factorial.c sample/factorial_test.c sample/exception_test.cpp
MANUAL_GARBAGE = manual.aux manual.log manual.out
# Programs
RST2HTML = rst2html
MANUAL_PDF=manual.pdf
SAMPLES = sample/factorial.c sample/factorial_test.c sample/exception_test.cpp
MANUAL_GARBAGE = manual.aux manual.log manual.out
# Programs
RST2HTML = rst2html
-RST2LATEX = rst2latex
-PDFLATEX = pdflatex
INSTALL = install
LN = ln
MKDIR = mkdir
INSTALL = install
LN = ln
MKDIR = mkdir
$(MANUAL_HTML): $(MANUAL_SRC) $(SAMPLES)
$(RST2HTML) $< > $@
$(MANUAL_HTML): $(MANUAL_SRC) $(SAMPLES)
$(RST2HTML) $< > $@
-doc-latex: $(MANUAL_LATEX)
-
-$(MANUAL_LATEX): $(MANUAL_SRC) $(SAMPLES)
- $(RST2LATEX) $< > $@
-
-$(MANUAL_PDF): $(MANUAL_LATEX)
- $(PDFLATEX) $<
- $(PDFLATEX) $<
+$(MANUAL_PDF): $(MANUAL_SRC)
+ $(RST2PDF) $< -o $@
install-readme:
$(INSTALL) -m 755 -d $(prefix)/$(DOC_DIR)
install-readme:
$(INSTALL) -m 755 -d $(prefix)/$(DOC_DIR)
$(LN) -sf manual-$(VERSION).pdf releases/manual.pdf
clean:
$(LN) -sf manual-$(VERSION).pdf releases/manual.pdf
clean:
- $(RM) $(MANUAL_HTML) $(MANUAL_LATEX) $(MANUAL_PDF) $(MANUAL_GARBAGE)
+ $(RM) $(MANUAL_HTML) $(MANUAL_PDF) $(MANUAL_GARBAGE)
-.PHONY: all doc doc-html doc-latex doc-pdf \
+.PHONY: all doc doc-html doc-pdf \
install-readme install-html install-pdf install-doc \
install-c install-py install \
release test clean
install-readme install-html install-pdf install-doc \
install-c install-py install \
release test clean