24 Commits

Author SHA1 Message Date
Dmitry V. Levin
05734c3b30 testsuite: make config data sorted using "make sort"
* Makefile (sort): Add dependencies, sort in C locale using "sort -u".
* testsuite/config-guess.data: Make the data sorted.
* testsuite/config-sub.data: Likewise.
2020-12-22 08:00:00 +00:00
Dmitry V. Levin
f0f7283240 Generate ChangeLog from git log
* ChangeLog: Rename to ChangeLog-old.
* Makefile.am (ChangeLog): New rule.
* .gitignore: New file.
* gitlog-to-changelog: Import from gnulib.
2020-12-22 08:00:00 +00:00
Dmitry V. Levin
965e90c772 doc: generalize make rules used to generate man pages
* doc/config.sub.x: New file.
* Makefile (HELP2MAN): New variable.
(doc/%.1): New rule.
(doc/config.guess.1, doc/config.sub.1): Remove.
2020-11-19 08:00:00 +00:00
Ben Elliston
95c8d9a294 * config.sub, config.guess: Replace backtick .. substitutions
with POSIX $(..) command substitutions throughout.
	* Makefile (shellcheck): Don't exclude message SC2006.
2020-11-07 15:38:19 +11:00
Ben Elliston
6fd2f9bf82 * Makefile (sort): New target.
* testsuite/config-guess.data: Sort.
	* testsuite/config-sub.data: Likewise.
2019-06-04 09:48:27 +10:00
Ben Elliston
f6872aecd5 Revert " * Makefile (check-guess): Don't remove uname here."
This reverts commit f34dacb3462ca1b390e70b090dbeafbdca7ce28a.
2019-03-23 22:09:04 +11:00
Ben Elliston
f34dacb346 * Makefile (check-guess): Don't remove uname here.
* testsuite/config-guess.sh (run_config_guess): Remove dummy uname
	script if the test passes (if not, the script is left behind for
	inspection).
2019-03-23 22:07:56 +11:00
Ben Elliston
05049e403e * Makefile (check-guess, check-sub): Run tests under bash. 2018-07-30 09:57:40 +10:00
Ben Elliston
09da403c82 * config.guess (set_cc_for_build): Disable SC2039 ("In POSIX sh,
RANDOM is undefined").
	* Makefile (shellcheck): Don't disable SC2039 globally.
2018-07-13 21:43:28 +10:00
Ben Elliston
a4b36a6939 * config.guess: Disable SC2154 and SC2172 Shellcheck warnings.
* Makefile (shellcheck): Don't disable SC2172 globally.
2018-07-13 21:37:46 +10:00
Ben Elliston
1e826a0344 * config.guess: Replace large 'set_cc_for_build' shell variable,
that is executed via eval, with a POSIX shell function.
	* Makefile (shellcheck): Ignore SC2039 diagnostics ("In POSIX sh,
	RANDOM is undefined") and SC2172 ("Trapping signals by number is
	not well defined. Prefer signal names").
2018-07-12 07:56:15 +10:00
Ben Elliston
45e7cb552c * Makefile (shellcheck): Include testsuite/*.sh scripts. 2018-05-14 21:06:06 +10:00
Ben Elliston
642dd8df5e * Makefile (shellcheck): New. 2018-05-04 14:13:26 +10:00
Ben Elliston
c9d898a31b * Makefile (doc/config.guess.1): Depend on config.guess.
(doc/config.sub.1): Depend on config.sub.
2016-12-28 01:16:39 +11:00
Ben Elliston
87a3b5e5fd * Makefile (manpages): New target.
(doc/config.guess.1): Build man page with help2man.
	(doc/config.sub.1): Likewise.
	* doc/config.guess.x: Copied from Autoconf tree.
	* doc/config.guess.1: Generate.
	* doc/config.sub.1: Likewise.
2015-11-22 20:41:43 +11:00
Mike Frysinger
9582436dfa * Makefile (check-guess, check-sub): New targets.
(check): Depend on check-guess and check-sub.

Signed-off-by: Ben Elliston <bje@gnu.org>
2012-11-11 09:32:34 +11:00
Ben Elliston
9a375e1fd8 * Makefile (check): Test config.guess before config.sub.
* testsuite/config-guess.data: Sort.
2011-12-29 19:55:18 +11:00
Ben Elliston
d4e25c7ac0 * Makefile (UPLOAD, upload): Remove variable and target.
(all): Make this a dummy target.
2009-08-17 14:03:14 +10:00
Ben Elliston
024f4743f5 * Makefile (SHELL): Remove override. 2005-07-08 07:19:02 +00:00
Ben Elliston
ddc5f38bef * Makefile (check): Run config-guess.sh tests as well.
* testsuite/config-guess.sh: New test.
	* testsuite/config-guess.data: New file.
	* testsuite/uname.in: Likewise.
	* testsuite/config-sub.data (amd64-unknown-freebsd5.2): New case.
2004-08-22 07:37:36 +00:00
Ben Elliston
b585beda76 * Makefile (check): New target.
* testsuite/config-sub.sh: New test.
	* testsuite/config-sub.data: New file.
2004-06-25 12:13:44 +00:00
Ben Elliston
f9b6f0553d (all): New target.
(upload): Clean up.
2004-06-21 10:25:11 +00:00
Ben Elliston
3236b11d16 Run ftp, not echo :-) 2004-06-21 10:08:44 +00:00
Ben Elliston
5aa3df2e8e * Makefile: New file. 2004-06-21 10:04:08 +00:00