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