actions.py 726 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 inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import get
  9. def install():
  10. autotools.rawInstall("DESTDIR=%s/usr/share/xml/docbook/xsl-stylesheets"
  11. % get.installDIR())
  12. inarytools.insinto("/usr/share/xml/docbook/xsl-stylesheets/","VERSION.xsl")
  13. # Don't ship the extensions
  14. inarytools.remove("/usr/share/xml/docbook/xsl-stylesheets/extensions/*")
  15. inarytools.dodoc("AUTHORS", "BUGS", "COPYING", "NEWS", "README",
  16. "RELEASE-NOTES.txt", "TODO", "VERSION")