diff options
| author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2006-06-01 03:07:18 +0000 |
|---|---|---|
| committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2006-06-01 03:07:18 +0000 |
| commit | 420d2500f006d9959931e885399fc5090b283d92 (patch) | |
| tree | 67cc682a75af135eab098d3f65c112d8d9ec2b16 /pexpect/Makefile | |
| parent | d8f1747934118cfa105b1421123606129c9962ea (diff) | |
| download | pexpect-420d2500f006d9959931e885399fc5090b283d92.tar.gz | |
Updated the format of some comments.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@395 656d521f-e311-0410-88e0-e7920216d269
Diffstat (limited to 'pexpect/Makefile')
| -rw-r--r-- | pexpect/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pexpect/Makefile b/pexpect/Makefile index 9ed54f0..39e685b 100644 --- a/pexpect/Makefile +++ b/pexpect/Makefile @@ -1,8 +1,9 @@ +# TODO This stupid Makefile is getty crappier and crappier. Is 'crappier' a word? SHELL = /bin/sh VERSION=2.1 #DOCGENERATOR= happydoc -DOCGENERATOR= pydoc -w +DOCGENERATOR=pydoc -w # This is for GNU Make. This does not work on BSD Make. #MANIFEST_LINES := $(shell cat MANIFEST) # This is for BSD Make. This does not work on GNU Make. @@ -13,9 +14,10 @@ all: merge_templates docs dist merge_templates: python tools/merge_templates.py -docs: doc/* -# rm -f pexpect-doc-$(VERSION).tar.gz - -rm -f `ls doc/*.html | sed -e 's/doc\/index\.template\.html//' | sed -e 's/doc\/index\.html//'` +docs: doc/index.template.html doc/examples.html doc/clean.css doc/email.png + make clean_docs + make merge_templates + #-rm -f `ls doc/*.html | sed -e 's/doc\/index\.template\.html//' | sed -e 's/doc\/index\.html//'` #$(DOCGENERATOR) `echo "$(MANIFEST_LINES)" | sed -e "s/\.py//g" -e "s/setup *//" -e "s/README *//"` #mv *.html doc/ cd doc;\ @@ -33,7 +35,7 @@ dist/pexpect-$(VERSION).tar.gz: rm -f dist/pexpect-$(VERSION).tar.gz python setup.py sdist -clean: +clean: clean_docs -rm -f MANIFEST -rm -f *.pyc -rm -f tests/*.pyc @@ -47,9 +49,10 @@ clean: -rm -f pexpect-$(VERSION).tar.gz -rm -f pexpect-$(VERSION)-examples.tar.gz -rm -f pexpect-$(VERSION)-doc.tar.gz - -rm -f `ls doc/*.html | sed -e 's/doc\/index\.template\.html//'` -rm -f python.core -rm -f core -rm -f setup.py -rm -f doc/index.html - + +clean_docs: + -rm -f `ls doc/*.html | sed -e 's/doc\/index\.template\.html//' | sed -e 's/doc\/examples\.html//'` |
