You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2018/09/09 11:22:21 UTC

[directory-studio] 02/03: Distribute user guides

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git

commit 44aa7eb9f532a4dc1ee5b63f1c69245f9b870d12
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun Sep 9 13:07:20 2018 +0200

    Distribute user guides
---
 dist/dist.sh | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/dist/dist.sh b/dist/dist.sh
index 1e6f897..50f64cd 100755
--- a/dist/dist.sh
+++ b/dist/dist.sh
@@ -36,7 +36,7 @@ fi
 
 echo
 echo "### Creating dist folder"
-DIST_DIR=${TARGET_DIR}/${VERSION}
+DIST_DIR=${TARGET_DIR}/dist/${VERSION}
 mkdir -p ${DIST_DIR}
 
 
@@ -88,7 +88,7 @@ sh ${WORK_DIR}/sign.sh
 
 echo
 echo "### Copying update sites"
-UPDATE_SITE_DIR=${TARGET_DIR}/${VERSION}/update
+UPDATE_SITE_DIR=${DIST_DIR}/update
 mkdir -p ${UPDATE_SITE_DIR}
 cd ${WORK_DIR}
 cp -a ../p2repositories/dependencies/target/repository ${UPDATE_SITE_DIR}/dependencies
@@ -105,5 +105,30 @@ sh ${WORK_DIR}/sign.sh
 
 
 echo
+echo "### Creating user's guide folder"
+UG_DIR=${TARGET_DIR}/ug/${VERSION}
+mkdir -p ${UG_DIR}
+
+echo
+echo "### Copying user's guide files"
+cd ${WORK_DIR}
+mkdir -p ${UG_DIR}/apache_directory_studio
+cp ../helps/rcp.help/target/pdf/*.pdf ${UG_DIR}/
+cp  -a ../helps/rcp.help/target/html/* ${UG_DIR}/apache_directory_studio/
+mkdir -p ${UG_DIR}/apacheds
+cp ../helps/apacheds.help/target/pdf/*.pdf ${UG_DIR}/
+cp  -a ../helps/apacheds.help/target/html/* ${UG_DIR}/apacheds
+mkdir -p ${UG_DIR}/ldap_browser
+cp ../helps/ldapbrowser.help/target/pdf/*.pdf ${UG_DIR}/
+cp  -a ../helps/ldapbrowser.help/target/html/* ${UG_DIR}/ldap_browser
+mkdir -p ${UG_DIR}/ldif_editor
+cp ../helps/ldifeditor.help/target/pdf/*.pdf ${UG_DIR}/
+cp  -a ../helps/ldifeditor.help/target/html/* ${UG_DIR}/ldif_editor
+mkdir -p ${UG_DIR}/schema_editor
+cp ../helps/schemaeditor.help/target/pdf/*.pdf ${UG_DIR}/
+cp  -a ../helps/schemaeditor.help/target/html/* ${UG_DIR}/schema_editor
+
+
+echo
 echo "### Success"