def generate(self, path): # Relative path to the ONL root from the target package # directory location="%s/%s" % (path, self.name) os.makedirs(location) self.relpath = os.path.relpath(os.getenv('ONL'),location) self.__generate_file(location, "Makefile", self._makefile()) self.__generate_file(location, "Makefile.comp", self._makefile_dot_comp()) location += "/deb" os.makedirs(location) self.__generate_file(location, "Makefile", self._deb_makefile()) location += "/debuild" os.makedirs(location) DebianGenerator.generate(self, location)
def generate(self, path): # Relative path to the ONL root from the target package # directory location = "%s/%s" % (path, self.name) os.makedirs(location) self.relpath = os.path.relpath(os.getenv('ONL'), location) self.__generate_file(location, "Makefile", self._makefile()) self.__generate_file(location, "Makefile.comp", self._makefile_dot_comp()) location += "/deb" os.makedirs(location) self.__generate_file(location, "Makefile", self._deb_makefile()) location += "/debuild" os.makedirs(location) DebianGenerator.generate(self, location)
def __init__(self, name, package, arch, summary, desc): DebianGenerator.__init__(self, package, arch, summary, desc); self.name = name
def __init__(self, name, package, arch, summary, desc): DebianGenerator.__init__(self, package, arch, summary, desc) self.name = name