fsync output file before closing
[debian/gzip] / bootstrap.conf
1 # Bootstrap configuration.
2
3 # Copyright (C) 2006-2007, 2009-2016 Free Software Foundation, Inc.
4
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # gzip doesn't use gettext.
20 IMPORT_FROM_GETTEXT=no
21
22 # gnulib modules used by this package.
23 gnulib_modules='
24 announce-gen
25 calloc
26 close
27 closein
28 fclose
29 fcntl
30 fcntl-safer
31 fdl
32 fdopendir
33 fprintf-posix
34 fsync
35 getopt-gnu
36 git-version-gen
37 gitlog-to-changelog
38 gnu-make
39 gnu-web-doc-update
40 gnumakefile
41 gnupload
42 ignore-value
43 intprops
44 largefile
45 lib-ignore
46 lstat
47 maintainer-makefile
48 malloc-gnu
49 manywarnings
50 perror
51 printf-posix
52 readme-release
53 realloc-gnu
54 savedir
55 stat-time
56 sys_stat
57 time
58 update-copyright
59 utimens
60 xalloc
61 yesno
62 '
63
64 # Additional gnulib-tool options to use.  Use "\newline" to break lines.
65 # We don't need the getline and rpmatch, since yesno doesn't do i18n.
66 gnulib_tool_option_extras="\
67  --avoid getline\
68  --avoid rpmatch\
69  --symlink\
70  --makefile-name=gnulib.mk\
71 "
72
73
74 # Create build-aux, since 'bootstrap' won't do that for us.
75 mkdir -p build-aux
76
77 # Build prerequisites
78 buildreq="\
79 autoconf   2.61
80 automake   1.11
81 autopoint  -
82 gettext    -
83 git        1.4.4
84 makeinfo   -
85 perl       5.5
86 rsync      -
87 tar        -
88 "
89
90 bootstrap_epilogue()
91 {
92   perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
93 }
94
95 # Automake requires that ChangeLog exist.
96 touch ChangeLog || exit 1