diff options
| author | Paul Eggert | 2019-06-08 14:08:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-06-08 14:42:10 -0700 |
| commit | 1043cd30acffcc0b61da4a80dcf3f8a5ac459267 (patch) | |
| tree | 0971ac4c47bd5d2f06fa1da4618891ba531e3635 /admin | |
| parent | d26b49e5a4883e9fe2ec3502c067ba2a5e1dd2c4 (diff) | |
| download | emacs-1043cd30acffcc0b61da4a80dcf3f8a5ac459267.tar.gz emacs-1043cd30acffcc0b61da4a80dcf3f8a5ac459267.zip | |
Fix out-of-source make-dist problems
Problem with jisx2131-filter reported by Phillip Lord in:
https://lists.gnu.org/r/emacs-devel/2019-06/msg00147.html
* admin/charsets/Makefile.in (SED_SCRIPT):
Put it in $(srcdir), which is not necessarily the working directory.
($(SED_SCRIPT)): Rename from jisx2131-filter. All uses changed.
(clean): Do not remove SED_SCRIPT.
(extraclean): Remove it here instead.
* make-dist (possibly_non_vc_files): Remove src/emacs-module.h.
Although it is portable and could be distributed in the tarball,
it's too much hassle to do that, so let each builder make it.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/charsets/Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/charsets/Makefile.in b/admin/charsets/Makefile.in index 0327a5df7eb..9f6b3e9e94d 100644 --- a/admin/charsets/Makefile.in +++ b/admin/charsets/Makefile.in | |||
| @@ -96,7 +96,7 @@ MULE = MULE-ethiopic.map MULE-ipa.map MULE-is13194.map \ | |||
| 96 | MULE-sisheng.map MULE-tibetan.map \ | 96 | MULE-sisheng.map MULE-tibetan.map \ |
| 97 | MULE-lviscii.map MULE-uviscii.map | 97 | MULE-lviscii.map MULE-uviscii.map |
| 98 | 98 | ||
| 99 | SED_SCRIPT = jisx2131-filter | 99 | SED_SCRIPT = $(srcdir)/jisx2131-filter |
| 100 | 100 | ||
| 101 | TRANS_TABLE = cp51932.el eucjp-ms.el | 101 | TRANS_TABLE = cp51932.el eucjp-ms.el |
| 102 | TRANS_TABLE := $(addprefix ${lispintdir}/,${TRANS_TABLE}) | 102 | TRANS_TABLE := $(addprefix ${lispintdir}/,${TRANS_TABLE}) |
| @@ -200,12 +200,13 @@ ${charsetdir}/JISX0208.map: ${GLIBC_CHARMAPS}/EUC-JP.gz ${mapconv} | |||
| 200 | ${charsetdir}/JISX0212.map: ${GLIBC_CHARMAPS}/EUC-JP.gz ${mapconv} ${compact} | 200 | ${charsetdir}/JISX0212.map: ${GLIBC_CHARMAPS}/EUC-JP.gz ${mapconv} ${compact} |
| 201 | ${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x8f/ s,/x8f,,' GLIBC-2-7 ${compact} > $@ | 201 | ${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x8f/ s,/x8f,,' GLIBC-2-7 ${compact} > $@ |
| 202 | 202 | ||
| 203 | jisx2131-filter: ${mapfiledir}/JISX213A.map | 203 | $(SED_SCRIPT): ${mapfiledir}/JISX213A.map |
| 204 | ${AM_V_at}sed -n -e '/^#/d' -e 's,.*0x\([0-9A-Z]*\)$$,/0x0*\1$$/d,p' < $< > $@ | 204 | ${AM_V_at}sed -n -e '/^#/d' -e 's,.*0x\([0-9A-Z]*\)$$,/0x0*\1$$/d,p' < $< > $@ |
| 205 | 205 | ||
| 206 | ${charsetdir}/JISX2131.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz ${mapconv} jisx2131-filter | 206 | ${charsetdir}/JISX2131.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz ${mapconv} \ |
| 207 | $(SED_SCRIPT) | ||
| 207 | ${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 \ | 208 | ${AM_V_GEN}${run_mapconv} $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 \ |
| 208 | | sed -f jisx2131-filter \ | 209 | | sed -f $(SED_SCRIPT) \ |
| 209 | | sed -e 's/0x2015/0x2014/' -e 's/0x2299/0x29BF/' > $@ | 210 | | sed -e 's/0x2015/0x2014/' -e 's/0x2299/0x29BF/' > $@ |
| 210 | 211 | ||
| 211 | ${charsetdir}/JISX2132.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz ${mapconv} | 212 | ${charsetdir}/JISX2132.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz ${mapconv} |
| @@ -307,7 +308,6 @@ ${charsetdir}/%.map: ${GLIBC_CHARMAPS}/%.gz ${mapconv} ${compact} | |||
| 307 | .PHONY: clean bootstrap-clean distclean maintainer-clean extraclean | 308 | .PHONY: clean bootstrap-clean distclean maintainer-clean extraclean |
| 308 | 309 | ||
| 309 | clean: | 310 | clean: |
| 310 | rm -f ${SED_SCRIPT} | ||
| 311 | 311 | ||
| 312 | bootstrap-clean: clean | 312 | bootstrap-clean: clean |
| 313 | 313 | ||
| @@ -318,4 +318,4 @@ maintainer-clean: distclean | |||
| 318 | 318 | ||
| 319 | ## Do not remove these files, even in a bootstrap. They rarely change. | 319 | ## Do not remove these files, even in a bootstrap. They rarely change. |
| 320 | extraclean: | 320 | extraclean: |
| 321 | rm -f ${CHARSETS} ${TRANS_TABLE} ${srcdir}/charsets.stamp | 321 | rm -f ${CHARSETS} ${SED_SCRIPT} ${TRANS_TABLE} ${srcdir}/charsets.stamp |