doxygen-1.9.5

This commit is contained in:
Rmys
2022-09-01 11:42:19 +03:00
parent 419070eb97
commit 079b2793ac
2 changed files with 20 additions and 12 deletions
+10 -6
View File
@@ -10,23 +10,27 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
def setup():
shelltools.system("""sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
doc/CMakeLists.txt""")
#shelltools.system("""sed -i 's:DESTINATION man/man1:DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
#doc/CMakeLists.txt""")
# --shared and --release are default parameters, however we just write them
# to down to avoid confusing wheter it's a static/shared or release/debug
# package at the first look :)
cmaketools.configure()
cmaketools.configure("-B build \
-DMAN_INSTALL_DIR=/usr/share/man/man1 \
-DCMAKE_INSTALL_PREFIX:PATH='/usr'")
def build():
cmaketools.make()
cmaketools.make("-C build")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.doman("doc/doxygen.1")
pisitools.doman("../doc/doxygen.1")
# The makefile included is there to generate the html files
# The user itself should execute it
pisitools.insinto(get.docDIR() + "/doxygen" , "examples")
pisitools.insinto(get.docDIR() + "/doxygen" , "../examples")
shelltools.cd("..")
pisitools.dodoc("LANGUAGE.HOWTO", "LICENSE", "README*", "VERSION")