FILES=index.html latn-post.js mim.js th-kesmanee.js
upload:
+ @updated=""; \
for f in ${FILES}; do \
- if [ $$f -nt ${DIST}/$$f ] ; then \
+ if [ ! -f ${DIST}/$$f -o $$f -nt ${DIST}/$$f ] ; then \
echo $$f; \
cp $$f ${DIST}; \
+ updated="1"; \
fi; \
- done
- cd /project/web/source/m17n-lib; make
+ done; \
+ if [ -n "$$updated" ] ; then \
+ echo $$updated; \
+ cd /project/web/source/m17n-lib; make; \
+ fi