Skip to content

Commit

Permalink
Fix sphinx generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Jan 19, 2024
1 parent 5c51860 commit f9e2086
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions guide/sphinx/Makefile.generic
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
PADBOL=$(HOME)/GIT/COBOL/padbol/superbol
PADBOL=superbol-free

.PHONY: all html rst

all: html
all: rst html

rst: _rst/$(MANUAL)/index.rst

_rst/$(MANUAL)/index.rst: $(PADBOL) ../*.texi $(MANUAL).anchors
_rst/$(MANUAL)/index.rst: ../*.texi $(MANUAL).anchors
rm -rf _rst/$(MANUAL)/
mkdir -p _rst/$(MANUAL)/
padbol texi2rst ../$(MANUAL).texi -o _rst/$(MANUAL)/
$(PADBOL) texi2rst ../$(MANUAL).texi -o _rst/$(MANUAL)/

html: _html/$(MANUAL)/index.html

_html/$(MANUAL)/index.html: $(PADBOL) _rst/$(MANUAL)/*.rst _rst/$(MANUAL)/index.rst _templates/layout.html
_html/$(MANUAL)/index.html: _rst/$(MANUAL)/index.rst _templates/layout.html
cp -dpR conf.py _static _templates _rst/$(MANUAL)/
sphinx-build _rst/$(MANUAL) _html/$(MANUAL)/

0 comments on commit f9e2086

Please sign in to comment.