summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-12-25 08:19:50 +0100
committerAkim Demaille <akim.demaille@gmail.com>2018-12-25 10:05:36 +0100
commita4ede8f85b0c9a254fcb01e5888cee1983095669 (patch)
treeec4bc084c53007c856c87f0496b9d9b1b85b4b65 /doc
parent53f1a0b114d1f8e52d4a9708e31e4bcbd160aae1 (diff)
downloadbison-a4ede8f85b0c9a254fcb01e5888cee1983095669.tar.gz
package: make bison a relocatable package
Suggested by David Barto https://lists.gnu.org/archive/html/help-bison/2015-02/msg00004.html and Victor Zverovich. https://lists.gnu.org/archive/html/bison-patches/2018-10/msg00121.html This is very easy to do, thanks to work by Bruno Haible in gnulib. See "Supporting Relocation" in gnulib's documentation. * bootstrap.conf: We need relocatable-prog and relocatable-script (for yacc). * src/yacc.in: New. * configure.ac, src/local.mk: Instantiate it. * src/main.c, src/output.c (main, pkgdatadir): Use relocatable2. * doc/bison.texi (FAQ): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/.gitignore1
-rw-r--r--doc/bison.texi6
-rw-r--r--doc/local.mk3
3 files changed, 8 insertions, 2 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 651eab93..31d36f60 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -30,3 +30,4 @@
/stamp-vti
/version.texi
/yacc.1
+/relocatable.texi
diff --git a/doc/bison.texi b/doc/bison.texi
index e1a5aaba..7bfc2879 100644
--- a/doc/bison.texi
+++ b/doc/bison.texi
@@ -382,6 +382,7 @@ Frequently Asked Questions
* Strings are Destroyed:: @code{yylval} Loses Track of Strings
* Implementing Gotos/Loops:: Control Flow in the Calculator
* Multiple start-symbols:: Factoring closely related grammars
+* Enabling Relocatability:: Moving Bison/using it through network shares
* Secure? Conform?:: Is Bison POSIX safe?
* I can't build Bison:: Troubleshooting
* Where can I find help?:: Troubleshouting
@@ -12875,6 +12876,7 @@ are addressed.
* Implementing Gotos/Loops:: Control Flow in the Calculator
* Multiple start-symbols:: Factoring closely related grammars
* Secure? Conform?:: Is Bison POSIX safe?
+* Enabling Relocatability:: Moving Bison/using it through network shares
* I can't build Bison:: Troubleshooting
* Where can I find help?:: Troubleshouting
* Bug Reports:: Troublereporting
@@ -13156,6 +13158,8 @@ However, Bison is intended to be a reliable program that conforms to the
POSIX specification for Yacc. If you run into problems, please send us a
bug report.
+@include relocatable.texi
+
@node I can't build Bison
@section I can't build Bison
@@ -13209,7 +13213,7 @@ hearts.
I found a bug. What should I include in the bug report?
@end quotation
-Before you send a bug report, make sure you are using the latest
+Before sending a bug report, make sure you are using the latest
version. Check @url{https://ftp.gnu.org/pub/gnu/bison/} or one of its
mirrors. Be sure to include the version number in your bug report. If
the bug is present in the latest version but not in a previous version,
diff --git a/doc/local.mk b/doc/local.mk
index 5af0ca01..8c02724e 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -19,7 +19,8 @@ info_TEXINFOS = doc/bison.texi
doc_bison_TEXINFOS = \
$(CROSS_OPTIONS_TEXI) \
doc/fdl.texi \
- doc/gpl-3.0.texi
+ doc/gpl-3.0.texi \
+ doc/relocatable.texi
# Cannot express dependencies directly on file names because of Automake.
# Obfuscate with a variable.