| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME = pycifrw |
| 4 | export PYBUILD_TEST_ARGS = -v TestPyCIFRW.py -v TestDrel.py |
| 5 | export PYBUILD_BEFORE_TEST = cp TestDrel.py {build_dir} && cp -r cif-core tests/dictionaries |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=pybuild |
| 9 | |
| 10 | execute_before_dh_auto_build: |
| 11 | $(MAKE) sources |
| 12 | |
| 13 | override_dh_installchangelogs: |
| 14 | dh_installchangelogs RELEASENOTES |
| 15 | |
| 16 | execute_before_dh_auto_clean: |
| 17 | rm -rf tests/dictionaries |