Sha256: 40dd6406fe2d80c86425bb9c20ae9e757f8f09ad78eba410e86eb655d11465b0
Contents?: true
Size: 1012 Bytes
Versions: 12
Compression:
Stored size: 1012 Bytes
Contents
# -*- coding: UTF-8 -*- require 'mj/tools/subprocess' require 'build-tool/build-system/base' module BuildTool; module BuildSystem class KdeL10nError < BuildTool::BuildSystem::CMake::CMakeError; end # # Custom Build system. # # Uses scripts do to the actual work. # class KdeL10n < CMake def name "kdel10n" end def initialize( *args ) super( *args ) end def configure if ! File.directory? "#{source_directory}/../scripts" raise KdeL10nError, "You have to enable/checkout l10n too." end dirname = File.basename source_directory rc = self.class.execute( "./scripts/autogen.sh #{dirname}", source_directory + "/..", self.module.environment.values ) if rc != 0 raise KdeL10nError, "Call to autogen.sh failed!"; end super end end # class KdeL10n end; end # module BuildTool::BuildSystem
Version data entries
12 entries across 12 versions & 1 rubygems