diff options
| -rw-r--r-- | admin/charsets/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/admin/charsets/Makefile b/admin/charsets/Makefile index 771a876f762..6def349d96d 100644 --- a/admin/charsets/Makefile +++ b/admin/charsets/Makefile | |||
| @@ -313,9 +313,23 @@ EBCDIC%.map: ${GLIBC_CHARMAPS}/EBCDIC-% mapconv compact.awk | |||
| 313 | # Generating $@... | 313 | # Generating $@... |
| 314 | @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@ | 314 | @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@ |
| 315 | 315 | ||
| 316 | install: ${CHARSETS} ${TRANS_TABLE} | 316 | install: |
| 317 | cp ${CHARSETS} ../../etc/charsets | 317 | @for f in ${CHARSETS}; do \ |
| 318 | cp ${TRANS_TABLE} ../../lisp/international | 318 | if test -r $$f; then \ |
| 319 | if ! cmp -s $$f ../../etc/charsets/$$f; then \ | ||
| 320 | echo updating $$f; \ | ||
| 321 | cp $$f ../../etc/charsets; \ | ||
| 322 | fi; \ | ||
| 323 | fi; \ | ||
| 324 | done | ||
| 325 | @for f in ${TRANS_TABLE}; do \ | ||
| 326 | if test -r $$f; then \ | ||
| 327 | if ! cmp -s $$f ../../lisp/international/$$f; then \ | ||
| 328 | echo updating $$f; \ | ||
| 329 | cp $$f ../../lisp/international; \ | ||
| 330 | fi; \ | ||
| 331 | fi; \ | ||
| 332 | done | ||
| 319 | 333 | ||
| 320 | # Clear files that are automatically generated. | 334 | # Clear files that are automatically generated. |
| 321 | clean: | 335 | clean: |