Skip to content

Commit

Permalink
remove dependence which and fix failing if gtkdocize isn't installed
Browse files Browse the repository at this point in the history
remove dependence on which command

point GTKDOCIZE environment variable to arbitrary command

add _settings_build property
  • Loading branch information
Renari committed Sep 27, 2021
1 parent e8c1ca8 commit fd2b3f7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion recipes/cairo/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,16 @@ def _build_configure(self):
tools.replace_in_file(os.path.join(self.source_folder, self._source_subfolder, "src", "cairo-ft-font.c"),
"#if HAVE_UNISTD_H", "#ifdef HAVE_UNISTD_H")

self.run("{} -fiv".format(tools.get_env("AUTORECONF")), win_bash=tools.os_info.is_windows, run_environment=True)
tools.touch(os.path.join("boilerplate", "Makefile.am.features"))
tools.touch(os.path.join("src", "Makefile.am.features"))
tools.touch("ChangeLog")

with tools.environment_append({"GTKDOCIZE": "echo"}):
self.run(
"{} -fiv".format(tools.get_env("AUTORECONF")),
run_environment=True,
win_bash=tools.os_info.is_windows,
)
autotools = self._configure_autotools()
autotools.make()

Expand Down

0 comments on commit fd2b3f7

Please sign in to comment.