Skip to content

Commit

Permalink
Added visible html in doc again
Browse files Browse the repository at this point in the history
  • Loading branch information
blais committed May 26, 2008
1 parent 837bcd5 commit 37bc766
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
1 change: 0 additions & 1 deletion .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ core
*.swp
*~
TAGS
doc/*.html
24 changes: 18 additions & 6 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@
Expand All @@ -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)

0 comments on commit 37bc766

Please sign in to comment.