actions.py 919 B

123456789101112131415161718192021222324252627282930
  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 get
  8. from pisi.actionsapi import cmaketools
  9. def setup():
  10. # --shared and --release are default parameters, however we just write them
  11. # to down to avoid confusing wheter it's a static/shared or release/debug
  12. # package at the first look :)
  13. cmaketools.configure()
  14. def build():
  15. cmaketools.make()
  16. def install():
  17. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  18. #pisitools.doman("doc/doxywizard.1")
  19. # The makefile included is there to generate the html files
  20. # The user itself should execute it
  21. pisitools.insinto(get.docDIR() + "/doxygen" , "examples")
  22. pisitools.dodoc("LANGUAGE.HOWTO", "LICENSE", "README*", "VERSION")