]> git.saurik.com Git - bison.git/blobdiff - src/local.mk
install: do not install yacc.1 when --disable-yacc
[bison.git] / src / local.mk
index 9e0848c29d3d1f312c3d0beca4ae2319d5f0dbc0..bbed7b76e18b4ddd0acac471b0eabeb2d087f25c 100644 (file)
@@ -111,7 +111,9 @@ BUILT_SOURCES +=                                \
 ## yacc.  ##
 ## ------ ##
 
-bin_SCRIPTS = $(YACC_SCRIPT)
+if ENABLE_YACC
+bin_SCRIPTS = src/yacc
+endif
 EXTRA_SCRIPTS = src/yacc
 MOSTLYCLEANFILES += src/yacc