DIST=/project/web/extra/m17n-lib/mim-js/ FILES=index.html test.html imlist.xml xex.js mim.js loadxml.html /usr/local/work/m17n-db-xml/MIM/*.mimx upload: @updated=""; \ for f in ${FILES}; do \ base=`basename $$f`; \ if [ ! -f "${DIST}/$$base" ] ; then \ echo $$f; \ cp $$f ${DIST}; \ updated="1"; \ elif [ "$$f" -nt "${DIST}/$$base" ] ; then \ echo $$f; \ cp $$f ${DIST}; \ updated="1"; \ fi; \ done; \ if [ -n "$$updated" ] ; then \ cd /project/web/source/m17n-lib; make; \ fi