allpy
annotate Makefile @ 808:497de2152849
Moved SequencePdbResiMarkup to allpy.markups, since it is used frequently
author | Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
---|---|
date | Thu, 14 Jul 2011 16:15:21 +0400 |
parents | b291f9c34b49 |
children | 101a23cd98ac |
rev | line source |
---|---|
dendik@534 | 1 components_cif_gz_url = \ |
dendik@534 | 2 ftp://ftp.ebi.ac.uk/pub/databases/rcsb/pdb/data/monomers/components.cif.gz |
dendik@534 | 3 codes_py = allpy/data/codes.py |
dendik@534 | 4 components_cif = allpy/data/components.cif |
dendik@534 | 5 |
dendik@542 | 6 all: doc codes tests |
dendik@540 | 7 |
dendik@542 | 8 tests: |
dendik@682 | 9 PYTHONPATH=$(PWD) nosetests --with-coverage |
dendik@540 | 10 |
dendik@540 | 11 doc: |
dendik@540 | 12 sphinx-autopackage --suffix=rst --dest-dir=docs/source/allpy/ allpy |
dendik@540 | 13 $(MAKE) -C docs html |
dendik@540 | 14 |
dendik@540 | 15 force-doc: |
dendik@540 | 16 rm docs/source/allpy/* |
dendik@540 | 17 rm -rf docs/build |
dendik@540 | 18 $(MAKE) doc |
dendik@540 | 19 |
dendik@540 | 20 codes: $(codes_py) |
dendik@540 | 21 |
dendik@540 | 22 force-codes: |
dendik@540 | 23 rm $(codes_py) |
dendik@540 | 24 $(MAKE) codes |
dendik@540 | 25 |
dendik@534 | 26 $(codes_py): $(components_cif) |
dendik@534 | 27 python allpy/data/mkcodes.py -i $< -o $@ |
dendik@534 | 28 |
dendik@534 | 29 $(components_cif): |
dendik@534 | 30 wget -O - $(components_cif_gz_url) | zcat > $@ |