Skip to content

Commit e3b81f8

Browse files
Removed old Makefile rules for building documentation (now we use Sphinx).
1 parent bf5327a commit e3b81f8

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

Makefile

+1-27
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
1-
#
2-
# Building HTML documentation
3-
#
4-
5-
WEB = $(shell pwd)/www
6-
DOC = ./src/ephem/doc
7-
RST2HTML = rst2html --initial-header-level=2 -g -d --strip-comments
8-
9-
all: $(WEB)/index.html $(WEB)/CHANGELOG
10-
11-
$(WEB)/index.html: $(DOC)/pyephem.html
12-
umask 022; tidy -q $< > $@
13-
14-
$(WEB)/CHANGELOG: CHANGELOG
15-
umask 022; cat $< > $@
16-
17-
RSTS = $(filter-out $(DOC)/quick.rst $(DOC)/nav.rst, $(wildcard $(DOC)/*.rst))
18-
PAGES = $(patsubst $(DOC)/%.rst, $(WEB)/%.html, $(RSTS))
19-
20-
all: rst
21-
rst: $(PAGES) $(WEB)/quick.html
22-
$(PAGES): $(WEB)/%.html: $(DOC)/%.rst $(DOC)/style.css
23-
umask 022; cd $(DOC); $(RST2HTML) --stylesheet-path=style.css < $*.rst > $@
24-
$(WEB)/quick.html: $(DOC)/quick.rst $(DOC)/quick.css
25-
umask 022; cd $(DOC); $(RST2HTML) --stylesheet-path=quick.css < quick.rst > $@
26-
271
#
282
# Building data sets
293
#
@@ -36,4 +10,4 @@ BDLSRCS=$(patsubst %, $D/%.c, $(BDLS))
3610
data: $(BDLSRCS)
3711

3812
$(BDLSRCS): $D/%.c: $G/% $G/satxyz.py
39-
python $G/satxyz.py $G/$* > $@
13+
bin/rebuild-plmoon-data $G/$* > $@

0 commit comments

Comments
 (0)