Skip to content

Commit

Permalink
Autoconf now quotes 'like this' instead of `like this'
Browse files Browse the repository at this point in the history
Autoconf’s diagnostics now follow current GNU coding standards,
which say that diagnostics in the C locale should quote 'like this'
with plain apostrophes instead of the older GNU style `like this'
with grave accent and apostrophe.
  • Loading branch information
eggert committed Jul 20, 2021
1 parent 7b1b9e4 commit 64df9b4
Show file tree
Hide file tree
Showing 48 changed files with 866 additions and 862 deletions.
4 changes: 2 additions & 2 deletions BUGS
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ file before using Autoconf, and especially git versions of Autoconf.
the copyright notice and this notice are preserved. This file is
offered as-is, without warranty of any kind.

Autoconf must not be used in production if there are ``Serious'' bugs,
and use with caution an Autoconf with ``Important bugs''.
Autoconf must not be used in production if there are "Serious" bugs,
and use with caution an Autoconf with "Important bugs".

* Status

Expand Down
22 changes: 11 additions & 11 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ to be written instead?).
Make sure that a fresh checkout of Autoconf can be bootstrapped using
the previous stable release of Autoconf. In other words, do not use
newly-added features in configure.ac if doing so would require an
installed git checkout to rerun `autoreconf -i' successfully.
installed git checkout to rerun 'autoreconf -i' successfully.

* Test suite

Expand All @@ -48,12 +48,12 @@ Use liberally.
Try to run the test suite with more severe conditions before a
release:

- Run `make syntax-check'
- Run 'make syntax-check'
This makes sure that the source files follow some consistent rules.
The checks live in maint.mk, shared from gnulib, and customized in
cfg.mk.

- Run `make distcheck' and `make maintainer-check'.
- Run 'make distcheck' and 'make maintainer-check'.

- Try some real world packages
A good example is the coreutils package.
Expand Down Expand Up @@ -96,28 +96,28 @@ hints on the testsuite. If needed, update cfg.mk with details
specific to your environment, such as the location of a gnulib checkout.

** Update the foreign files
Running `make fetch' in the top level should grab it all for you; you
Running 'make fetch' in the top level should grab it all for you; you
should check the results before committing them in git.

** Set the version number
Update the version number in NEWS (with version, date, and release
type). Make sure all changes are committed, then run `git tag -s -m
type). Make sure all changes are committed, then run 'git tag -s -m
<version> -u <gpg_key> v<version>'. Do not push anything upstream at
this point.

** Update configure
As much as possible, make sure to release an Autoconf that uses
itself. That's easy: just be in the top level, and run
`tests/autoconf'. Or install this autoconf and run `autoreconf -f'.
'tests/autoconf'. Or install this autoconf and run 'autoreconf -f'.

** Make the release
Run `make {alpha,beta,stable}' depending on which type of release this
Run 'make {alpha,beta,stable}' depending on which type of release this
is. This runs the various checks, creates delta files, creates a
preliminary announcement in ~/announce-autoconf-<version>, prints
out the command to upload the files, and updates the previous version
file.

If it fails, run `git tag -d v<version>', fix the problems, and go
If it fails, run 'git tag -d v<version>', fix the problems, and go
back to the step of setting the version.

** Upload
Expand All @@ -127,7 +127,7 @@ that the files are correctly uploaded before sending a release
announcement.

** Push the updates
Run `git push origin refs/tags/v<version>' to push the release tag.
Run 'git push origin refs/tags/v<version>' to push the release tag.

** Announce
Complete/fix the announcement file, and email it at least to
Expand All @@ -139,9 +139,9 @@ also mail to [email protected].
For alpha and beta releases, the process is complete. For stable
releases, there are several other web pages that need updates.

Update the online manual: Run `make web-manual', then copy the
Update the online manual: Run 'make web-manual', then copy the
contents of doc/manual into a CVS checkout of the documentation
repository. Remember to use `cvs add -ko' so that RCS keywords in the
repository. Remember to use 'cvs add -ko' so that RCS keywords in the
generated output do not get expanded improperly.
$ export CVS_RSH=ssh
$ cvs -z3 -d:ext:<user>@cvs.sv.gnu.org:/web/autoconf co autoconf
Expand Down
4 changes: 1 addition & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,13 @@ MAINTAINERCLEANFILES += $(srcdir)/INSTALL

# Don't leave blank line at end of file.
OMIT_TRAILING_EMPTY_LINES = '/^$$/H; /^$$/d; x; s/\n//p; s/\n*//; x'
# Prefer 'plain quotes' over `makeinfo quotes'.
CONVERT_QUOTES = "s/\`\([^']*\)'/'\1'/g"

$(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
echo @firstparagraphindent insert \
| cat - $(top_srcdir)/doc/install.texi > tmp.texi
$(MAKEINFO) $(custom_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
--plaintext tmp.texi \
| sed -e $(CONVERT_QUOTES) -e $(OMIT_TRAILING_EMPTY_LINES) \
| sed -e $(OMIT_TRAILING_EMPTY_LINES) \
> $@-t && mv $@-t $@
rm -f tmp.texi
endif
Expand Down
Loading

0 comments on commit 64df9b4

Please sign in to comment.