install: do not install yacc.1 when --disable-yacc
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 22 Oct 2013 15:32:49 +0000 (17:32 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 22 Oct 2013 15:34:22 +0000 (17:34 +0200)
commit265640d56ed2eece90efd92f21fc9e614e575724
tree71055b461e74478b934e73f637ac4f16a643dcab
parentee9cdb85958b4cdcf138029e54c7c0499d34d8b2
install: do not install yacc.1 when --disable-yacc

* configure.ac (ENABLE_YACC): New conditional.
(YACC_SCRIPT, YACC_LIBRARY): Remove.
* lib/local.mk, src/local.mk: Use the former instead of the latter.
* doc/local.mk: Use ENABLE_YACC to avoid installing yacc.1.
NEWS
configure.ac
doc/local.mk
lib/local.mk
src/local.mk