Change sanity_check_[file|dir] to sanity_check_is_[file|dir], per #554

- Add documentation as well.
This commit is contained in:
Todd Gamblin
2016-03-17 18:49:58 -07:00
parent 63f9f4291a
commit 90268876f7
3 changed files with 84 additions and 25 deletions

View File

@@ -38,8 +38,7 @@ class Libelf(Package):
provides('elf')
sanity_check_files = ['include/libelf.h']
sanity_check_dirs = ['lib']
sanity_check_is_file = 'include/libelf.h'
def install(self, spec, prefix):
configure("--prefix=" + prefix,