diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/unidata/Makefile.in | 7 | ||||
| -rw-r--r-- | admin/unidata/uvs.el | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index e50b01bded2..8d439dcb7ce 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in | |||
| @@ -112,11 +112,12 @@ distclean: clean | |||
| 112 | rm -f Makefile | 112 | rm -f Makefile |
| 113 | 113 | ||
| 114 | maintainer-clean: distclean | 114 | maintainer-clean: distclean |
| 115 | rm -f ${top_srcdir}/src/macuvs.h | ||
| 116 | 115 | ||
| 117 | ## Do not remove these files, even in a bootstrap, because they rarely | 116 | ## Do not remove these files, even in a bootstrap, because they rarely |
| 118 | ## change and it slows down bootstrap (a tiny bit). | 117 | ## change and it slows down bootstrap (a tiny bit). |
| 119 | ## Cf leim/ja-dic (which is much slower). | 118 | ## Cf leim/ja-dic (which is much slower). |
| 120 | extraclean: maintainer-clean | 119 | ## Also, removing macuvs.h would mean that macOS builds would need |
| 121 | rm -f ${unidir}/charscript.el* | 120 | ## to do a headless bootstrap, which is currently awkward. |
| 121 | extraclean: distclean | ||
| 122 | rm -f ${top_srcdir}/src/macuvs.h ${unidir}/charscript.el* | ||
| 122 | rm -f ${unifiles} ${unidir}/charprop.el | 123 | rm -f ${unifiles} ${unidir}/charprop.el |
diff --git a/admin/unidata/uvs.el b/admin/unidata/uvs.el index ad2b6548a23..dfea4796528 100644 --- a/admin/unidata/uvs.el +++ b/admin/unidata/uvs.el | |||
| @@ -201,8 +201,16 @@ corresponding number." | |||
| 201 | (uvs-alist-from-ivd collection-id | 201 | (uvs-alist-from-ivd collection-id |
| 202 | sequence-id-to-glyph-func)))) | 202 | sequence-id-to-glyph-func)))) |
| 203 | (set-binary-mode 'stdout t) | 203 | (set-binary-mode 'stdout t) |
| 204 | (princ "/* This file was automatically generated from admin/unidata/IVD_Sequences.txt\n") | 204 | (princ "\ |
| 205 | (princ " by the script admin/unidata/uvs.el */\n") | 205 | /* This file was automatically generated from admin/unidata/IVD_Sequences.txt |
| 206 | by the script admin/unidata/uvs.el. It is version-controlled | ||
| 207 | because otherwise the first build on macOS from the source | ||
| 208 | repository would need to be headless. | ||
| 209 | |||
| 210 | FIXME: Make it convenient to do headless bootstrap builds on macOS, | ||
| 211 | so that this file need not be put into the source repository. */ | ||
| 212 | |||
| 213 | ") | ||
| 206 | (princ | 214 | (princ |
| 207 | (format "static const unsigned char mac_uvs_table_%s_bytes[] =\n {\n" | 215 | (format "static const unsigned char mac_uvs_table_%s_bytes[] =\n {\n" |
| 208 | (replace-regexp-in-string "[^_[:alnum:]]" "_" | 216 | (replace-regexp-in-string "[^_[:alnum:]]" "_" |