| 1 | Packaging hints for binary package distributors |
| 2 | =============================================== |
| 3 | |
| 4 | Although the source of the bison package comes as a single package, |
| 5 | in distributions of binary packages the installed files should |
| 6 | be split into two packages: |
| 7 | |
| 8 | bison-runtime |
| 9 | Contents: Runtime libraries and programs. |
| 10 | Audience: Anyone who wants to run internationalized programs |
| 11 | that contain Bison-generated parsers. |
| 12 | |
| 13 | bison |
| 14 | Contents: Tools and documentation for developers that use Bison. |
| 15 | Audience: Anyone who wants to develop programs that use parsers. |
| 16 | Dependencies: requires bison-runtime. |
| 17 | |
| 18 | The 'bison-runtime' binary package is much smaller than the 'bison' |
| 19 | binary package. It should be included in any distribution that |
| 20 | contains localized programs that use the diagnostics contained in |
| 21 | Bison-generated parsers. |
| 22 | |
| 23 | If you want to install both packages at the same time, you simply do |
| 24 | at the toplevel directory: |
| 25 | |
| 26 | ./configure |
| 27 | make |
| 28 | make install |
| 29 | |
| 30 | After installation, the file |
| 31 | |
| 32 | $prefix/share/locale/*/LC_MESSAGES/bison-runtime.mo |
| 33 | |
| 34 | belongs to the bison-runtime package; all other installed files belong |
| 35 | to the bison package. |
| 36 | |
| 37 | ----- |
| 38 | |
| 39 | Copyright (C) 2002, 2005, 2009-2013 Free Software Foundation, Inc. |
| 40 | |
| 41 | This file is part of Bison, the GNU Compiler Compiler. |
| 42 | |
| 43 | This program is free software: you can redistribute it and/or modify |
| 44 | it under the terms of the GNU General Public License as published by |
| 45 | the Free Software Foundation, either version 3 of the License, or |
| 46 | (at your option) any later version. |
| 47 | |
| 48 | This program is distributed in the hope that it will be useful, |
| 49 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 50 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 51 | GNU General Public License for more details. |
| 52 | |
| 53 | You should have received a copy of the GNU General Public License |
| 54 | along with this program. If not, see <http://www.gnu.org/licenses/>. |