Generate admin/charsets Makefile via configure, and make more portable.
commite7bc85db46679cc408f51d74e6a66734f1e32142
authorGlenn Morris <rgm@gnu.org>
Fri, 22 May 2015 06:44:00 +0000 (21 23:44 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 22 May 2015 06:44:00 +0000 (21 23:44 -0700)
tree250008ff1c624cb5cc39ceb2fcf7892cdb93c258
parent9e41e0bc6a6fdb7a01841db62d8de42d67be534a
Generate admin/charsets Makefile via configure, and make more portable.

* configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
(admin/charsets/Makefile): Generate it.
* admin/charsets/Makefile.in: Rename from Makefile.
(AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
New variables, set by configure.
(charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
(am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
(am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
(cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
(TRANS_TABLE, CHARSETS): Add directory prefix to value.
(all): Declare PHONY.
(local): New PHONY target.
(map_template): New template.  Use to define short PHONY aliases.
(*.map): Add directory prefixes to targets and prerequisites.
Respect make verbosity.
(JISC6226.map): Replace non-portable sed append without newline.
(install): Remove rule.
(clean): Only delete temporary sedscript.
(bootstrap-clean, distclean, maintainer-clean, extraclean)
(totalclean): New PHONY rules.
* admin/charsets/mapconv (BASE): Replace basename with expr.
(FILE): Add "mapfiles" subdirectory.
(AWK): New variable.  Use throughout in place of "awk".
(main): Use "gunzip -c" in place of "zcat".
Don't leave whitespace before "p", for older sed.
* admin/charsets/mapfiles/PTCP154: Add final newline,
to make older sed versions happy.
; * .gitignore: Ignore admin/charsets/Makefile.
.gitignore
admin/charsets/Makefile [deleted file]
admin/charsets/Makefile.in [new file with mode: 0644]
admin/charsets/mapconv
admin/charsets/mapfiles/PTCP154
configure.ac