# HG changeset patch # User Kenichi Handa # Date 1076570752 0 # Node ID 55516d80d73552866535990364cbc05829e0fa65 # Parent beedac339948fb5eef060065e9981c9aee21c647 (install): Copy updated files only. diff -r beedac339948 -r 55516d80d735 admin/charsets/Makefile --- a/admin/charsets/Makefile Tue Feb 10 11:31:44 2004 +0000 +++ b/admin/charsets/Makefile Thu Feb 12 07:25:52 2004 +0000 @@ -313,9 +313,23 @@ # Generating $@... @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@ -install: ${CHARSETS} ${TRANS_TABLE} - cp ${CHARSETS} ../../etc/charsets - cp ${TRANS_TABLE} ../../lisp/international +install: + @for f in ${CHARSETS}; do \ + if test -r $$f; then \ + if ! cmp -s $$f ../../etc/charsets/$$f; then \ + echo updating $$f; \ + cp $$f ../../etc/charsets; \ + fi; \ + fi; \ + done + @for f in ${TRANS_TABLE}; do \ + if test -r $$f; then \ + if ! cmp -s $$f ../../lisp/international/$$f; then \ + echo updating $$f; \ + cp $$f ../../lisp/international; \ + fi; \ + fi; \ + done # Clear files that are automatically generated. clean: