generic-poky/meta/recipes-devtools/bison/bison/dont-depend-on-help2man.patch

33 lines
982 B
Diff

Upstream-Status: Inappropriate
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff -Nurd bison-2.7/doc/Makefile.am bison-2.7/doc/Makefile.am
--- bison-2.7/doc/Makefile.am 2012-12-09 17:51:03.000000000 +0200
+++ bison-2.7/doc/Makefile.am 2013-01-02 06:49:50.804894071 +0200
@@ -52,15 +52,11 @@
## Man Pages. ##
## ----------- ##
-dist_man_MANS = $(srcdir)/bison.1
-
-EXTRA_DIST += $(dist_man_MANS:.1=.x) common.x
-MAINTAINERCLEANFILES += $(dist_man_MANS)
+EXTRA_DIST += bison.x common.x
# Depend on configure to get version number changes.
common_dep = $(top_srcdir)/configure $(srcdir)/common.x
srcsrcdir = $(top_srcdir)/bin
-$(srcdir)/bison.1: $(common_dep) $(top_srcdir)/src/getargs.c
# Differences to ignore when comparing the man page (the date).
remove_time_stamp = \
@@ -94,8 +90,6 @@
fi
$(AM_V_at)rm -f $@*.t
-nodist_man_MANS = yacc.1
-
## ------------------------------ ##
## Graphviz examples generation. ##
## ------------------------------ ##