|
Revision 51885, 0.7 kB
(checked in by madarche, 1 year ago)
|
- Documenting that there are binaries of PyLucene? available.
|
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
.PHONY: clean check |
|---|
| 2 |
|
|---|
| 3 |
SRC_DOCS := $(shell ls *.txt) |
|---|
| 4 |
|
|---|
| 5 |
# Uncomment this line to produce HTML docs from all the available text files in |
|---|
| 6 |
# this directory. |
|---|
| 7 |
#HTML_DOCS := $(subst .txt,.html,${SRC_DOCS}) |
|---|
| 8 |
HTML_DOCS := README.html INSTALL.html |
|---|
| 9 |
|
|---|
| 10 |
# In order to generate HTML docs, you will need to install |
|---|
| 11 |
# Docutils (http://docutils.sourceforge.net/). |
|---|
| 12 |
# For example on a Debian system: |
|---|
| 13 |
# $ sudo apt-get install python-docutils |
|---|
| 14 |
RST2HTML := rst2html \ |
|---|
| 15 |
#-t --stylesheet-path=nuxeo_doc.css \ |
|---|
| 16 |
--input-encoding=iso-8859-15 \ |
|---|
| 17 |
--output-encoding=iso-8859-15 |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
doc: ${HTML_DOCS} |
|---|
| 21 |
|
|---|
| 22 |
%.html: %.txt |
|---|
| 23 |
${RST2HTML} $< $@ |
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
check: |
|---|
| 27 |
pychecker2 *.py |
|---|
| 28 |
|
|---|
| 29 |
clean: |
|---|
| 30 |
find . "(" -name "*~" -or -name ".#*" -or -name "*.pyc" ")" -print0 | xargs -0 rm -f |
|---|
| 31 |
rm -f ChangeLog |
|---|
| 32 |
rm -rf build |
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|