Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/747b4fef09e0/Makefile
Дата изменения: Unknown
Дата индексирования: Sun Feb 3 08:46:24 2013
Кодировка:
allpy: 747b4fef09e0 Makefile

allpy

view Makefile @ 540:747b4fef09e0

Makefile: added rules "tests" and "doc" for running tests and rebuilding documentation
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Mon, 28 Feb 2011 22:06:03 +0300
parents 1f122b33073d
children 2841177ebc2b
line source
1 components_cif_gz_url = \
2 ftp://ftp.ebi.ac.uk/pub/databases/rcsb/pdb/data/monomers/components.cif.gz
3 codes_py = allpy/data/codes.py
4 components_cif = allpy/data/components.cif
6 all: doc codes test
8 test:
9 nosetests
11 doc:
12 sphinx-autopackage --suffix=rst --dest-dir=docs/source/allpy/ allpy
13 $(MAKE) -C docs html
15 force-doc:
16 rm docs/source/allpy/*
17 rm -rf docs/build
18 $(MAKE) doc
20 codes: $(codes_py)
22 force-codes:
23 rm $(codes_py)
24 $(MAKE) codes
26 $(codes_py): $(components_cif)
27 python allpy/data/mkcodes.py -i $< -o $@
29 $(components_cif):
30 wget -O - $(components_cif_gz_url) | zcat > $@