From: handa Date: Wed, 12 Jan 2011 07:14:47 +0000 (+0000) Subject: (release): Exclute directory in usr/html and ja/html to copy to the X-Git-Tag: REL-1-6-2~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=17b3ac06c22b09ea6fac4d7bbba5754b05b77eb0;p=m17n%2Fm17n-docs.git (release): Exclute directory in usr/html and ja/html to copy to the server. --- diff --git a/Makefile.am b/Makefile.am index 9eb4883..51074fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -387,10 +387,10 @@ WEBDIR = /project/web/extra/m17n-lib release: dist-tgz [ -d ${WEBDIR}/m17n-docs ] || mkdir ${WEBDIR}/m17n-docs - [ -d ${WEBDIR}/download ] || mkdir ${WEBDIR}/download - cd usr/html; cp * ${WEBDIR}/m17n-docs + for f in usr/html/*; do [ -d "$$f" ] || cp "$$f" ${WEBDIR}/m17n-docs; done [ -d ${WEBDIR}-ja2/m17n-docs ] || mkdir ${WEBDIR}-ja2/m17n-docs - cd ja/html; cp * ${WEBDIR}-ja2/m17n-docs + for f in ja/html/*; do [ -d "$$f" ] || cp "$$f" ${WEBDIR}-ja2/m17n-docs; done + [ -d ${WEBDIR}/download ] || mkdir ${WEBDIR}/download cp ${distdir}.tar.gz ${WEBDIR}/download