actions.py 524 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import get
  9. WorkDir = "."
  10. def setup():
  11. pisitools.dosed("main.c", "len + 13", "len + 14")
  12. def build():
  13. autotools.make()
  14. def install():
  15. pisitools.dobin("btyacc")
  16. pisitools.newman("manpage", "btyacc.1")
  17. pisitools.dodoc("README*")