Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added Makefile for docs. It formats them into .html and .txt with groff.
  • Loading branch information
opqdonut committed Apr 17, 2005
1 parent 1a74697 commit ad093cf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ clean:
-rm -f `find -name "*~"`
-rm -f `find -name "*.py[co]"`
-rm -fr `find -name "build"`
make -C doc clean

sync: magma-sync codespeak-sync

Expand All @@ -17,3 +18,6 @@ codespeak-sync:

meta:
ssh codespeak.net python games/metaserver/metaserver.py -f

docs:
make -C doc
11 changes: 11 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
all: bb.py.html bb.py.txt Client.py.html Client.py.txt BubBob.py.html BubBob.py.txt

%.html : %.1
groff -man -Thtml $< > $@

%.txt : %.1
groff -man -Tascii $< > $@

clean:
rm -f *.txt
rm -f *.html

0 comments on commit ad093cf

Please sign in to comment.