From 17b3ac06c22b09ea6fac4d7bbba5754b05b77eb0 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 12 Jan 2011 07:14:47 +0000 Subject: [PATCH] (release): Exclute directory in usr/html and ja/html to copy to the server. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4