actions.py 730 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import shelltools
  9. def setup():
  10. inarytools.cflags.add("-ftree-vectorize -ftree-vectorizer-verbose=1")
  11. for i in ["NEWS", "AUTHORS", "ChangeLog"]:
  12. shelltools.touch(i)
  13. autotools.autoreconf("-vfi")
  14. autotools.configure("--disable-debugging \
  15. --disable-static")
  16. def build():
  17. autotools.make()
  18. def install():
  19. autotools.install()
  20. inarytools.dodoc("CHANGES", "COPYRIGHT", "CREDITS", "README", "TODO", "VERSION")