aedi: remove intermediate paths from gmake executable

This commit is contained in:
alexey.lysiuk 2023-01-09 17:35:08 +02:00
parent 24f30692d5
commit d6f7ae1bc8

View file

@ -77,6 +77,14 @@ class GmakeTarget(ConfigureMakeDependencyTarget):
def detect(self, state: BuildState) -> bool:
return state.has_source_file('doc/make.1')
def configure(self, state: BuildState):
opts = state.options
opts['--datarootdir'] = '/usr/local/share'
opts['--includedir'] = '/usr/local/include'
opts['--libdir'] = '/usr/local/lib'
super().configure(state)
def post_build(self, state: BuildState):
self.copy_to_bin(state, 'make', self.name)