xournal++-1.1.1

This commit is contained in:
4fury-c3440d8
2022-04-16 02:26:16 +03:00
parent 42f6c69f8e
commit 3e52b0354a
2 changed files with 12 additions and 7 deletions
+3 -5
View File
@@ -13,17 +13,15 @@ def setup():
# shelltools.export("CFLAGS", "-lpthread")
pisitools.cxxflags.add("-Wno-unused-result -Wno-deprecated-declarations")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release", sourceDir = '..')
cmaketools.configure("-B_build -DCMAKE_BUILD_TYPE=Release")
def build():
shelltools.cd("build")
shelltools.cd("_build")
cmaketools.make()
cmaketools.make("translations")
def install():
shelltools.cd("build")
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("../AUTHORS", "../CHANGELOG.md", "../LICENSE", "../README.md")