Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
rougier committed May 12, 2013
0 parents commit 9c6ac81
Show file tree
Hide file tree
Showing 281 changed files with 3,650 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Icon?
.DS_Store
*.pyc
*~
35 changes: 35 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
MAKE = /usr/bin/make
RST2HTML = rst2html.py
RST2LATEX = rst2latex.py
STYLESHEET = dana.css
RST2HTML_OPTIONS = --strip-comments \
--report=3 \
--stylesheet=$(STYLESHEET) \
--link-stylesheet
RST2LATEX_OPTIONS = --strip-comments \
--report=3 \
--use-latex-toc

SOURCES = $(wildcard *.rst)
HTML_OBJECTS = $(subst .rst,.html, $(SOURCES))
LATEX_OBJECTS = $(subst .rst,.tex, $(SOURCES))

html: $(HTML_OBJECTS)

latex: $(LATEX_OBJECTS)

%.html: %.rst Makefile
@echo " - $@"
@$(RST2HTML) $(RST2HTML_OPTIONS) $< $@

%.tex: %.rst Makefile
@echo " - $@"
@$(RST2LATEX) $(RST2LATEX_OPTIONS) $< $@

clean:
@-rm -f $(LATEX_OBJECTS) $(HTML_OBJECTS)

distclean: clean
@-rm -f `find . -name "*~"`


Loading

0 comments on commit 9c6ac81

Please sign in to comment.