actions.py 591 B

1234567891011121314151617181920212223
  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/copyleft/gpl.txt.
  6. from inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import get
  9. def setup():
  10. autotools.autoreconf("-fi")
  11. autotools.configure("docdir=/usr/share/doc")
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  16. inarytools.removeDir("/usr/doc")
  17. inarytools.dodoc("AUTHORS", "ChangeLog*", "NEWS", "README" ,"COPYING")