actions.py 520 B

12345678910111213141516171819202122
  1. #!/usr/bin/python
  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 pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. def build():
  9. autotools.make()
  10. def install():
  11. for binary in ["dos2unix", "mac2unix", "unix2dos", "unix2mac"]:
  12. pisitools.dobin(binary)
  13. pisitools.dodoc("NEWS.txt", "README.txt" ,"TODO.txt", "ChangeLog.txt", "COPYING.txt")
  14. pisitools.doman("man/man1/dos2unix.1")