actions.py 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 get
  9. def install():
  10. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  11. autotools.rawInstall("DESTDIR=%s -C man-pages-posix-2003-a" % get.installDIR())
  12. # These come from attr
  13. inarytools.remove("/usr/share/man/man2/flistxattr.2")
  14. inarytools.remove("/usr/share/man/man2/removexattr.2")
  15. inarytools.remove("/usr/share/man/man2/fgetxattr.2")
  16. inarytools.remove("/usr/share/man/man2/fsetxattr.2")
  17. inarytools.remove("/usr/share/man/man2/lsetxattr.2")
  18. inarytools.remove("/usr/share/man/man2/lremovexattr.2")
  19. inarytools.remove("/usr/share/man/man2/listxattr.2")
  20. inarytools.remove("/usr/share/man/man2/getxattr.2")
  21. inarytools.remove("/usr/share/man/man2/setxattr.2")
  22. inarytools.remove("/usr/share/man/man2/llistxattr.2")
  23. inarytools.remove("/usr/share/man/man2/fremovexattr.2")
  24. inarytools.remove("/usr/share/man/man2/lgetxattr.2")
  25. inarytools.remove("/usr/share/man/man5/attr.5")
  26. # These come from libcap
  27. inarytools.remove("/usr/share/man/man2/capget.2")
  28. inarytools.remove("/usr/share/man/man2/capset.2")
  29. # Comes from xorg-input
  30. inarytools.remove("/usr/share/man/man4/mouse.4")
  31. # Comes from keyutils
  32. inarytools.remove("/usr/share/man/man7/*-keyring.7")
  33. inarytools.remove("/usr/share/man/man7/keyrings.7")
  34. inarytools.dodoc("man-pages-*.Announce", "README")