From 37bc7668bf9b7087ae65c004fabf7caf168c0483 Mon Sep 17 00:00:00 2001 From: blais Date: Sun, 25 May 2008 21:16:42 -0700 Subject: [PATCH] Added visible html in doc again --- .hgignore | 1 - doc/Makefile | 24 ++++++++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.hgignore b/.hgignore index ea9435d91..f06dc7bc1 100644 --- a/.hgignore +++ b/.hgignore @@ -4,4 +4,3 @@ core *.swp *~ TAGS -doc/*.html diff --git a/doc/Makefile b/doc/Makefile index 17034a020..2892d1289 100755 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,9 +3,23 @@ MODELS = \ beancount.sql -.SUFFIXES: .txt .sql .db .create .test .clean +HTML = \ + accounting.html \ + beancount.html \ + capgains.html \ + differences.html \ + pyledger.html -all: $(MODELS) +.SUFFIXES: .txt .sql .db .create .test .clean .html + +all: docs sql + +docs: $(HTML) + +.txt.html: + rst2html.py $< > $(<:.txt=.html) + +sql: $(MODELS) .txt.sql: -rm -f $@ @@ -24,10 +38,8 @@ all: $(MODELS) .sql.test: psql -f $(<:.sql=test.sql) $(<:.sql=.db) 2>&1 | grep -v NOTICE: -docs: - projects docs flair - examples: rst-literals -s accounting.txt >/dev/null - +clean: + rm -f $(MODELS) $(HTML)