summaryrefslogtreecommitdiff
path: root/recipes/build-tools/libtool.recipe
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-03-04 10:49:17 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-03-04 10:49:17 +0100
commit27922594a82571f3a334e17834664df510348eaf (patch)
tree40a8844dbd044216e45e7a790c101113e31f9fcb /recipes/build-tools/libtool.recipe
parentfd0679648acce5631203039af164a3ffb9a0d3af (diff)
libtool: Touch the manpages before compilation
Otherwise we need help2man to regenerate them, as our patch is changing timestamps for which autotools then wants to regenerate the manpages...
Diffstat (limited to 'recipes/build-tools/libtool.recipe')
-rw-r--r--recipes/build-tools/libtool.recipe7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/build-tools/libtool.recipe b/recipes/build-tools/libtool.recipe
index 5981976a..f5a6fb14 100644
--- a/recipes/build-tools/libtool.recipe
+++ b/recipes/build-tools/libtool.recipe
@@ -1,5 +1,6 @@
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
import shutil
+from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'libtool'
@@ -26,3 +27,9 @@ class Recipe(recipe.Recipe):
if os.path.exists(self.build_dir):
shutil.rmtree(self.build_dir)
super(recipe.Recipe, self).extract()
+
+ def configure(self):
+ shell.touch(os.path.join(self.build_dir, 'doc', 'libtool.1'))
+ shell.touch(os.path.join(self.build_dir, 'doc', 'libtoolize.1'))
+ super(recipe.Recipe, self).configure()
+